diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-08-19 10:53:19 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-10-22 13:16:56 +0200 |
commit | 6a65bc579810e3688a63a7c3b0e720dc0f5456b0 (patch) | |
tree | b1c76298c1278f351eabe47489b7ebff97efd8f2 /application | |
parent | f39580c6fd171b849cec5832b4912182696341f2 (diff) | |
download | Shaarli-6a65bc579810e3688a63a7c3b0e720dc0f5456b0.tar.gz Shaarli-6a65bc579810e3688a63a7c3b0e720dc0f5456b0.tar.zst Shaarli-6a65bc579810e3688a63a7c3b0e720dc0f5456b0.zip |
Translations : Working demo example of translation extension
Diffstat (limited to 'application')
-rw-r--r-- | application/Utils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/Utils.php b/application/Utils.php index 27eaafc5..2f38a8de 100644 --- a/application/Utils.php +++ b/application/Utils.php | |||
@@ -480,7 +480,7 @@ function alphabetical_sort(&$data, $reverse = false, $byKeys = false) | |||
480 | * @param int $nb The number of items for plural forms. | 480 | * @param int $nb The number of items for plural forms. |
481 | * @param string $domain The domain where the translation is stored (default: shaarli). | 481 | * @param string $domain The domain where the translation is stored (default: shaarli). |
482 | * | 482 | * |
483 | * @return String Text translated. | 483 | * @return string Text translated. |
484 | */ | 484 | */ |
485 | function t($text, $nText = '', $nb = 1, $domain = 'shaarli') { | 485 | function t($text, $nText = '', $nb = 1, $domain = 'shaarli') { |
486 | return dn__($domain, $text, $nText, $nb); | 486 | return dn__($domain, $text, $nText, $nb); |