wiki:MaintenanceTraduction

Version 2 (modified by anonyme, 7 years ago) (diff)

--

dangers of ephedrine buy valium acomplia prevacid solutab prevacid glucophage pcos prevacid online valium online valium without prescription herbal viagra buy valium online lipitor recall phentermine 37 5mg tadalafil alternative bontril sr generic lipitor antibiotic tetracycline buy valium online zyprexa lawyer buy codeine zyprexa side effects side effects of zoloft generic sildenafil zyprexa glucophage pcos cheap codeine zithromax z pak glucophage buy codeine description zolpidem buy levitra online tramadol cod effects side tetracycline generic ultram alcohol lexapro zoloft side effects atenolol didrex buy hydrocodone online buy ephedra online clomid buy hydrocodone tadalafil alternative online zanaflex buy tramadol glucophage phentermine cheap tramadol buy levitra slot machine celebrex buy didrex valtrex medication cheap ultram cheap codeine online atenolol valtrex medication hydroxycut with ephedrine slot machine celebrex zithromax side effects effects glucophage side side effects for valtrex cheap tramadol buy online celexa online zanaflex klonopin side effects cheap tramadol klonopin withdrawal buy cheap codeine cheap diazepam buy cheap codeine codeine addiction buy ambien cheap levitra sildenafil viagra citrate sildenafil generic lipitor tramadol cod zyprexa diabetes buy citrate sildenafil buy cheap ultram zithromax z pak klonopin picture diet fuel with ephedra affect nexium side cheap fioricet hydroxycut with ephedrine cheap ultram buy acomplia buy ambien zithromax azithromycin zolpidem tartrate buy levitra online buy citrate sildenafil didrex cheap cheap phentermine hydrocodone cod buy ephedra online prevacid solutab nexium online acyclovir buy ambien drug klonopin glucophage pcos buy ambien atenolol medication drug valtrex buy tramadol glucophage phentermine didrex online zyprexa side effects buy cheap fioricet zithromax z pak cheap zanaflex glucophage xr buy online ultram codeine addiction is ultracet a narcotic drug ultracet valtrex medication generic valium is ultracet a narcotic buy fioricet online information zanaflex hydrocodone no prescription zithromax side effects gain lexapro weight hydrocodone online discount didrex ambien side effects drug ultracet information zanaflex generic prevacid lipitor acomplia treatment zyprexa attorney bontril 35mg cheap ephedra valium online buy diazepam buy valium generic ultram buy valium acyclovir dosage prevacid generic ambien clomid success zoloft side effects viagra alternative atenolol medication clomid success tadalafil alternative didrex cheap lexapro lipitor recall acyclovir dosage buy cheap codeine ambien side effects zoloft side effects codeine zyprexa lawyer effects side tetracycline discount valtrex buy zanaflex buy online diazepam lexapro withdrawal online zanaflex zyprexa side effects drug ultracet bontril 35mg buy tetracycline clomid buy valium online buy ultram online buy celexa ephedrine diet pills nexium atenolol and flushing glucophage phentermine acne tetracycline side effects of lipitor buy ephedra buy codeine hydrocodone cod buy cheap fioricet effects side zanaflex celebrex buy online ultram buy ephedra seeds hydrocodone cod glucophage pcos tadalafil generic viagra discount didrex bontril cheap ephedra zithromax antibiotic glucophage xr acomplia generic viagra zithromax side effects buy ephedra seeds

Marquer les chaines a traduire

Les chaines a etre traduites dans AlternC doivent etre entouree d'un appel de fonction __. Autrement dit:

print "hello world";

devient:

print __("hellow world");

Nous n'utilisons pas _ car il est possible qu'AlternC change de systeme de traduction dans le futur (gettext est parfois un peu lent) et il serait trop complique de passer au travers de tous les _ pour les remplacer.

Mise a jour des chaines

Il y a un makefile dans source:alternc/trunk/admin/locales/ qui permet la mise a jour des fichiers de traduction lorsqu'on modifie une chaine. Il suffit de l'appeler avec "make":

$ cd admin/locales
$ make
touch messages.po
xgettext --force-po --omit-header --keyword=__ --keyword=_  -L PHP --from-code iso-8859-1 -j ../admin/adm_add.php ../admin/adm_defquotas.php ../admin/adm_del.php ../admin/adm_doadd.php ../admin/adm_dodefquotas.php ../admin/adm_dodel.php ../admin/adm_doedit.php ../admin/adm_domlock.php ../admin/adm_doms.php ../admin/adm_donosu.php ../admin/adm_dorenew.php ../admin/adm_dosu.php ../admin/adm_edit.php ../admin/adm_list.php ../admin/adm_login.php ../admin/adm_panel.php ../admin/adm_quotadoedit.php ../admin/adm_quotaedit.php ../admin/adm_slaveaccount.php ../admin/adm_slaveip.php ../admin/adm_tldadd.php ../admin/adm_tlddoadd.php ../admin/adm_tlddoedit.php ../admin/adm_tldedit.php ../admin/adm_tld.php ../admin/adm_variables.php ../admin/bro_editor.php ../admin/bro_main.php ../admin/bro_pref.php ../admin/bro_tgzdown.php ../admin/bro_view.php ../admin/browseforfolder.php ../admin/direct.php ../admin/dom_add.php ../admin/dom_doadd.php ../admin/dom_dodel.php ../admin/dom_editdns.php ../admin/dom_edit.php ../admin/domlist.php ../admin/dom_subdel.php ../admin/dom_subdodel.php ../admin/dom_subdoedit.php ../admin/dom_subedit.php ../admin/ftp_add.php ../admin/ftp_del.php ../admin/ftp_doadd.php ../admin/ftp_doedit.php ../admin/ftp_edit.php ../admin/ftp_list.php ../admin/head.php ../admin/hta_add.php ../admin/hta_adduser.php ../admin/hta_del.php ../admin/hta_doadd.php ../admin/hta_doadduser.php ../admin/hta_dodeluser.php ../admin/hta_doedituser.php ../admin/hta_edit.php ../admin/hta_edituser.php ../admin/hta_list.php ../admin/index.php ../admin/login.php ../admin/lst_addown.php ../admin/lst_addsub1.php ../admin/lst_addsub.php ../admin/lst_affallsub.php ../admin/lst_affsub.php ../admin/lst_delown.php ../admin/lst_delsub.php ../admin/lst_doedit.php ../admin/lst_doeditsub.php ../admin/lst_doedittxt.php ../admin/lst_downsub.php ../admin/lst_owner.php ../admin/lst_subscribers.php ../admin/mail_add.php ../admin/mail_doadd.php ../admin/mail_dodel.php ../admin/mail_doedit.php ../admin/mail_edit.php ../admin/mail_list.php ../admin/main.php ../admin/mem_admin.php ../admin/mem_chgmail.php ../admin/mem_cm2.php ../admin/mem_cm.php ../admin/mem_logout.php ../admin/mem_param.php ../admin/mem_passwd.php ../admin/menu_adm.php ../admin/menu_aide.php ../admin/menu_brouteur.php ../admin/menu_dom.php ../admin/menu_ftp.php ../admin/menu_mail.php ../admin/menu_mem.php ../admin/menu.php ../admin/menu_quota.php ../admin/menu_sql.php ../admin/menu_sta2.php ../admin/menu_web.php ../admin/quota_show_all.php ../admin/quota_show.php ../admin/sql_addmain.php ../admin/sql_add.php ../admin/sql_admin.php ../admin/sql_bck.php ../admin/sql_del.php ../admin/sql_doadd.php ../admin/sql_dobck.php ../admin/sql_dorestore.php ../admin/sql_getparam.php ../admin/sql_list.php ../admin/sql_passchg.php ../admin/sql_pass.php ../admin/sql_restore.php ../admin/sql_users_add.php ../admin/sql_users_del.php ../admin/sql_users_doadd.php ../admin/sql_users_dorights.php ../admin/sql_users_list.php ../admin/sql_users_rights.php ../admin/sta2_add_raw.php ../admin/sta2_del_raw.php ../admin/sta2_doadd_raw.php ../admin/sta2_doedit_raw.php ../admin/sta2_edit_raw.php ../admin/sta2_list.php ../admin/template.php ../admin/web_list.php ../class/config_nochk.php ../class/config.php ../class/config_real.php ../class/db_mysql.php ../class/export_account.php ../class/functions.php ../class/lang_env.php ../class/local.php ../class/m_admin.php ../class/m_bro.php ../class/m_dom.php ../class/m_err.php ../class/m_ftp.php ../class/m_hta.php ../class/mime.php ../class/m_mail.php ../class/m_mem.php ../class/m_mysql.php ../class/m_quota.php ../class/m_sta2.php ../class/reset_stats_conf.php ../class/variables.php
msgmerge -v -U de_DE/LC_MESSAGES/messages.po messages.po
............................................
 lus 1 anciens + 1 references, 424 fusionnes, 1 approximatives, 0 manquants, 1 perimes.
msgmerge -v -U es_ES/LC_MESSAGES/messages.po messages.po
............................................
 lus 1 anciens + 1 references, 424 fusionnes, 1 approximatives, 0 manquants, 145 perimes.
msgmerge -v -U es_VE/LC_MESSAGES/messages.po messages.po
............................................
 lus 1 anciens + 1 references, 424 fusionnes, 1 approximatives, 0 manquants, 11 perimes.
msgmerge -v -U fr_FR/LC_MESSAGES/messages.po messages.po
............................................
 lus 1 anciens + 1 references, 424 fusionnes, 1 approximatives, 0 manquants, 37 perimes.
msgmerge -v -U en_US/LC_MESSAGES/manual.po manual.po
...................
 lus 1 anciens + 1 references, 186 fusionnes, 0 approximatives, 0 manquants, 263 perimes.
msgmerge -v -U es_VE/LC_MESSAGES/manual.po manual.po
...................
 lus 1 anciens + 1 references, 186 fusionnes, 0 approximatives, 0 manquants, 7 perimes.
msgmerge -v -U fr_FR/LC_MESSAGES/manual.po manual.po
...................
 lus 1 anciens + 1 references, 186 fusionnes, 0 approximatives, 0 manquants, 10 perimes.