From b80050e597edf13a9b8da2c02e795dd399ae891f Mon Sep 17 00:00:00 2001 From: Herman Vierendeels Date: Thu, 20 Oct 2011 20:02:22 +0000 Subject: [PATCH] Documenting parameterized translations git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/branches/1.3@3899 4979c152-3d1c-0410-bac9-87ea11338e46 --- README.translations | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.translations b/README.translations index d57d9bac0a..15a895dbfd 100644 --- a/README.translations +++ b/README.translations @@ -55,3 +55,12 @@ tw_utf -> zh_TW ua -> uk ua_utf -> uk ve -> es_VE + + +Examples of translation-coding +in source-file: + $locale->text( 'Edit Preferences for [_1]', $form->{login} ); + +in locale/po/nl_BE: + msgid "Edit Preferences for %1" + msgstr "Instellingen aanpassen voor %1"