From zeta-issues-return-29-apmail-incubator-zeta-issues-archive=incubator.apache.org@incubator.apache.org Sat Oct 16 16:46:45 2010 Return-Path: Delivered-To: apmail-incubator-zeta-issues-archive@minotaur.apache.org Received: (qmail 36382 invoked from network); 16 Oct 2010 16:46:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Oct 2010 16:46:45 -0000 Received: (qmail 80506 invoked by uid 500); 16 Oct 2010 16:46:45 -0000 Delivered-To: apmail-incubator-zeta-issues-archive@incubator.apache.org Received: (qmail 80490 invoked by uid 500); 16 Oct 2010 16:46:45 -0000 Mailing-List: contact zeta-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zeta-issues@incubator.apache.org Delivered-To: mailing list zeta-issues@incubator.apache.org Received: (qmail 80482 invoked by uid 99); 16 Oct 2010 16:46:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 16:46:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 16:46:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9GGkNb0024639 for ; Sat, 16 Oct 2010 16:46:23 GMT Message-ID: <1068039.3021287247583534.JavaMail.jira@thor> Date: Sat, 16 Oct 2010 12:46:23 -0400 (EDT) From: "Maxime THOMAS - Wascou.org (JIRA)" To: zeta-issues@incubator.apache.org Subject: [jira] Created: (ZETACOMP-19) The extractor does not handle the noobsolete param like QT Linguist lupdate runtime MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 The extractor does not handle the noobsolete param like QT Linguist lupdate runtime ----------------------------------------------------------------------------------- Key: ZETACOMP-19 URL: https://issues.apache.org/jira/browse/ZETACOMP-19 Project: Zeta Components Issue Type: Improvement Components: TemplateTranslationTiein Environment: All Reporter: Maxime THOMAS - Wascou.org Priority: Minor Hi, Could be a great improvement to allow people to erase old data in the translation file, it allows to avoid the manual edit of the file and a certain gain of space. Today the runexctrator.php script has the following usage : Usage: $ runextractor.php [-f "[LOCALE].xml"] [-l "en"] [-o] [-h] [[--] ] Extracts translatable strings from eZ Components template files. The directory to save the translation files to is provided as an argument. -f / --format The file format the generated translation files should get. The string "[LOCALE]" is automatically replaced with the locale name. -l / --locale The locale of the strings within the templates. -o / --overwrite If this option is set, files will be overwriten if they already exist. -h / --help Print out this help information. So we can had a 'noobsolete' param that will delete all translations with the type 'obsolete'. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.