From cc4ebc7a41ef67de708f1087dc2094070e59fbaf Mon Sep 17 00:00:00 2001 From: dany Date: Fri, 21 Feb 2014 21:37:28 +0100 Subject: [PATCH] Improve scripts + translation --- dev/compile_text.sh | 2 + dev/extract_text.sh | 2 + html/lang/en_US/LC_MESSAGES/messages.po | 45 +++++++++------------- html/lang/nl_NL/LC_MESSAGES/messages.po | 51 +++++++++++-------------- 4 files changed, 45 insertions(+), 55 deletions(-) diff --git a/dev/compile_text.sh b/dev/compile_text.sh index 92839ea04..2e22a45bd 100644 --- a/dev/compile_text.sh +++ b/dev/compile_text.sh @@ -6,8 +6,10 @@ # This file is a part of NOALYSS under GPL # Author D. DE BONTRIDDER danydb@aevalys.eu cd ../html/lang +echo "English" cd en_US/LC_MESSAGES msgfmt -c -v messages.po +echo "Dutch" cd ../.. cd nl_NL/LC_MESSAGES msgfmt -c -v messages.po diff --git a/dev/extract_text.sh b/dev/extract_text.sh index 0f345bfd8..c9eef356d 100644 --- a/dev/extract_text.sh +++ b/dev/extract_text.sh @@ -11,9 +11,11 @@ cd .. xgettext -L PHP -j --from-code=UTF-8 -p html/lang/ html/*.php include/*.php include/template/*.php include/ext/*/*.php include/ext/*/include/*.php include/ext/*/include/template/*.php # For dutch +echo "Dutch" msgmerge -U -s html/lang/nl_NL/LC_MESSAGES/messages.po html/lang/messages.po #For english +echo "English" msgmerge -U -s html/lang/en_US/LC_MESSAGES/messages.po html/lang/messages.po #For new language diff --git a/html/lang/en_US/LC_MESSAGES/messages.po b/html/lang/en_US/LC_MESSAGES/messages.po index 6560a8529..bbfc471f1 100644 --- a/html/lang/en_US/LC_MESSAGES/messages.po +++ b/html/lang/en_US/LC_MESSAGES/messages.po @@ -1,21 +1,23 @@ -# NOALYSS +# NOALYSS # Copyright (C) 2014 # This file is distributed under the same license as the NOALYSS package. # Dany De Bontridder # +# dany, 2014. msgid "" msgstr "" "Project-Id-Version: NOALYSS 672\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-02-16 12:54+0100\n" -"PO-Revision-Date: 2014-02-14 23:38+0100\n" -"Last-Translator: Dany De Bontridder \n" -"Language-Team: English\n" +"PO-Revision-Date: 2014-02-21 21:31+0100\n" +"Last-Translator: dany\n" +"Language-Team: American English \n" "Language: en_US\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.4\n" #: include/template/category_of_card.php:38 msgid " A moins qu'en créant la fiche, vous forcez un autre poste comptable" @@ -30,7 +32,6 @@ msgid " Administration Globale" msgstr "Global Parameter" #: include/ext/tva/form_parameter.php:88 -#, fuzzy msgid "" " Autres opérations à l'entrée pour lesquelles la T.V.A. est due par le " "déclarant " @@ -41,9 +42,8 @@ msgid " Base de donnée " msgstr "Database" #: include/template/ledger_detail_bottom.php:9 -#, fuzzy msgid " Bon de commande" -msgstr "Good customer order" +msgstr "Customer order" #: include/fiche.inc.php:176 msgid " Ces fiches n'ont pas été effacées " @@ -87,9 +87,8 @@ msgid " TVA " msgstr "VAT" #: include/class_acc_ledger.php:107 -#, fuzzy msgid " Tous les journaux" -msgstr "All the purchase ledgers" +msgstr "All the ledgers" #: html/ajax_card.php:416 html/ajax_card.php:417 msgid " d'administration" @@ -163,22 +162,18 @@ msgid "%s Vous avez ajouté %d mois depuis le %d/%d pour l'exercice %d " msgstr "You have added% s% d months since% d /% d% d for the year" #: include/class_acc_ledger.php:3234 -#, fuzzy msgid "'Journaux Financier" -msgstr "Financial Menu" +msgstr "Financial" #: include/class_acc_ledger.php:3235 -#, fuzzy msgid "'Journaux d'Opérations diverses" -msgstr "Menu various operations" +msgstr "Miscellaneous ledger" #: include/class_acc_ledger.php:3233 -#, fuzzy msgid "'Journaux d'achat" -msgstr "All the purchase ledgers" +msgstr "Purchase ledgers" #: include/impress_bilan.inc.php:89 -#, fuzzy msgid "" " Attention : si le bilan n'est pas équilibré.
" "Vérifiez
    \n" @@ -197,7 +192,7 @@ msgstr "" "
  • The liability has a saldo on credit(except the reverse accounting) \n" "
\n" -"Use the report of accouting to check
" +"Use the balance of accouting to check" #: include/template/stock_histo_search.php:43 msgid "A partir de" @@ -231,11 +226,10 @@ msgid "Accès interdit" msgstr "Forbidden access" #: include/template/ledger_detail_forbidden.php:5 -#, fuzzy msgid "" "Accès interdit : vous n'avez pas accès à cette information, contactez votre " "responsable" -msgstr "You are not allowed to access this ledger, contact your administrator" +msgstr "You are not allowed to access this , contact your administrator" #: include/database.item.php:2 include/database.item.php:66 #: include/database.item.php:196 @@ -252,7 +246,7 @@ msgstr "Asset of one year max" #: include/class_acc_bilan.php:147 msgid "Actif avec un solde crediteur" -msgstr "" +msgstr "Asset with a credit saldo" #: include/template/dashboard.php:105 msgid "Action" @@ -267,29 +261,26 @@ msgid "Action Gestion" msgstr "Action Management" #: include/action.common.inc.php:277 include/action.common.inc.php:281 -#, fuzzy msgid "Action Sauvée" -msgstr "Action saved" +msgstr "Saved" #: include/template/dashboard.php:222 -#, fuzzy msgid "Action en retard" -msgstr "Forbidden Action" +msgstr "Late" #: html/ajax_card.php:199 html/ajax_card.php:311 html/ajax_card.php:446 #: html/ajax_card.php:483 html/ajax_card.php:491 html/ajax_card.php:312 #: html/ajax_card.php:447 html/ajax_card.php:484 html/ajax_card.php:492 msgid "Action interdite" -msgstr "Forbidden Action" +msgstr "Forbidden" #: include/class_acc_ledger.php:3684 -#, fuzzy msgid "Action non accessible" msgstr "Folder not available" #: include/template/dashboard.php:253 msgid "Action pour aujourd'hui" -msgstr "" +msgstr "For today" #: include/template/detail-action.php:176 #, fuzzy diff --git a/html/lang/nl_NL/LC_MESSAGES/messages.po b/html/lang/nl_NL/LC_MESSAGES/messages.po index 824594d72..ecda34ddd 100644 --- a/html/lang/nl_NL/LC_MESSAGES/messages.po +++ b/html/lang/nl_NL/LC_MESSAGES/messages.po @@ -1,21 +1,22 @@ -# Dutch translations for PACKAGE package. -# Copyright (C) 2014 THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# dany , 2014. +# Dutch translations for NOALYSS package. +# Copyright (C) 2014 THE NOALYSS'S COPYRIGHT HOLDER +# This file is distributed under the same license as the NOALYSS package. # +# dany , 2014. msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: NOALYSS\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-02-16 12:54+0100\n" -"PO-Revision-Date: 2014-02-14 21:57+0100\n" -"Last-Translator: dany \n" -"Language-Team: Dutch\n" +"PO-Revision-Date: 2014-02-21 21:35+0100\n" +"Last-Translator: dany\n" +"Language-Team: American English \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.4\n" #: include/template/category_of_card.php:38 msgid " A moins qu'en créant la fiche, vous forcez un autre poste comptable" @@ -44,9 +45,8 @@ msgid " Base de donnée " msgstr "Database" #: include/template/ledger_detail_bottom.php:9 -#, fuzzy msgid " Bon de commande" -msgstr "Goede bestelling van de klant" +msgstr " Bestelling van de klant" #: include/fiche.inc.php:176 msgid " Ces fiches n'ont pas été effacées " @@ -57,7 +57,6 @@ msgid " Cette action ne vous est pas autorisée Contactez votre responsable" msgstr "Die Actie is Verboden" #: include/ext/tva/ajax.php:205 -#, fuzzy msgid " Code TVA " msgstr "BTW Code" @@ -83,7 +82,6 @@ msgid " Libellé du paiement" msgstr "Formulering van betaling" #: include/ext/rapport_avance/include/declaration.inc.php:57 -#, fuzzy msgid " Sauvé " msgstr "OPSLAAN" @@ -92,9 +90,8 @@ msgid " TVA " msgstr "BTW" #: include/class_acc_ledger.php:107 -#, fuzzy msgid " Tous les journaux" -msgstr "Financiele Alle grootboeken" +msgstr "Financiele" #: html/ajax_card.php:416 html/ajax_card.php:417 msgid " d'administration" @@ -105,7 +102,6 @@ msgid " de clients" msgstr "van clients" #: html/ajax_card.php:421 -#, fuzzy msgid " de contacts" msgstr "van clients" @@ -118,7 +114,6 @@ msgid " dernière sauvegarde " msgstr "laatste back-up" #: include/ext/invoicing/include/invoice_send_mail.inc.php:113 -#, fuzzy msgid " destinataire " msgstr "Ontvanger" @@ -170,19 +165,17 @@ msgid "%s Vous avez ajouté %d mois depuis le %d/%d pour l'exercice %d " msgstr "Je hebt% s% d maanden sinds% d /% d% d voor het jaar toegevoegd" #: include/class_acc_ledger.php:3234 -#, fuzzy msgid "'Journaux Financier" -msgstr "Financiële Menu" +msgstr "Financiële" #: include/class_acc_ledger.php:3235 -#, fuzzy msgid "'Journaux d'Opérations diverses" msgstr "Menu verschillende bewerkingen" #: include/class_acc_ledger.php:3233 #, fuzzy msgid "'Journaux d'achat" -msgstr "Alleen kopen kranten" +msgstr "Ver" #: include/impress_bilan.inc.php:89 #, fuzzy @@ -200,7 +193,7 @@ msgstr "Accepteren" #: include/template/stock_histo_search.php:43 msgid "A partir de" -msgstr "" +msgstr "Vanaf" #: include/ext/amortis/include/print_fiche.inc.php:55 msgid "Accepter" @@ -290,7 +283,7 @@ msgstr "Folder niet Bereikbaar" #: include/template/dashboard.php:253 msgid "Action pour aujourd'hui" -msgstr "" +msgstr "Voor vaandag" #: include/template/detail-action.php:176 #, fuzzy @@ -4286,7 +4279,7 @@ msgstr "Aantal geregistreerde lijnen" #: include/class_periode.php:240 include/class_periode.php:269 #, php-format msgid "Nombre opérations %d" -msgstr "Aantal operaties%" +msgstr "Aantal operaties %d" #: include/company.inc.php:40 include/company.inc.php:44 #: include/company.inc.php:47 include/company.inc.php:85 @@ -6507,7 +6500,7 @@ msgstr "pluggen in de categorie ingevoegd" #: include/card_attr.inc.php:94 msgid "id" -msgstr "" +msgstr "id" #: include/dossier.inc.php:355 msgid "inexistant" @@ -6646,15 +6639,16 @@ msgstr "of QuickCode" #: include/class_acc_ledger_purchase.php:1638 msgid "ou générer un document" -msgstr "Maak van EEN papier" +msgstr "Maak van een document" #: include/class_acc_ledger_sold.php:904 msgid "ou générer une facture" -msgstr "EEN van factuurmaken" +msgstr "Creeren een faktuur" #: include/fiche_def.inc.php:68 +#, fuzzy msgid "par exemple ne pas changer Client par fournisseur" -msgstr "Bijvoorbeeld change niet deur Klant Leverancier" +msgstr "Bijvoorbeeld niet deur Klant Leverancier" #: include/dossier.inc.php:254 msgid "pas de modèle disponible" @@ -6749,7 +6743,7 @@ msgstr "BTW%" #: include/ext/tools/raw.php:81 msgid "texte" -msgstr "" +msgstr "Text" #: include/class_acc_ledger.php:187 msgid "this->jr_id is not set ou opération inconnue" @@ -6810,3 +6804,4 @@ msgstr "U bevestigt" #: include/class_acc_ledger.php:1870 msgid "vous ne pouvez pas encoder à une date antérieure" msgstr "Mag Niet voor this U gegeven coderen" +