summaryrefslogtreecommitdiff
path: root/includes/functions/functions_print.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-05-25 16:26:00 +0000
committerfisharebest <fisharebest@gmail.com>2010-05-25 16:26:00 +0000
commitbf6c8a9ae070936512b51dab0bf757e4d9641190 (patch)
treee61c5ed177c62f871e1dc129a18a8df92924bd1d /includes/functions/functions_print.php
parent3e5e6c60d5608a1bd4a8cb5c2b558fcb168b45db (diff)
downloadwebtrees-bf6c8a9ae070936512b51dab0bf757e4d9641190.tar.gz
webtrees-bf6c8a9ae070936512b51dab0bf757e4d9641190.tar.bz2
webtrees-bf6c8a9ae070936512b51dab0bf757e4d9641190.zip
RTL support: add &rlm; / &lrm; markers when embedded strings. Need to remove PrintReady() and use i18n::translate('%s (%s)', $s1, $s2)
Diffstat (limited to 'includes/functions/functions_print.php')
-rw-r--r--includes/functions/functions_print.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index e30f1bbf2d..781bcdf105 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -2104,7 +2104,7 @@ function print_add_new_fact($id, $usedfacts, $type) {
echo "<form method=\"get\" name=\"newfactform\" action=\"\" onsubmit=\"return false;\">";
echo "<select id=\"newfact\" name=\"newfact\">\n";
foreach($tanslated_addfacts as $fact=>$fact_name) {
- echo '<option value="', $fact, '">', $fact_name, " [".$fact."]</option>";
+ echo '<option value="', $fact, '">', i18n::translate('%s [%s]', $fact_name, $fact), '</option>';
}
if (($type == "INDI") || ($type == "FAM")) echo "<option value=\"EVEN\">", i18n::translate('Custom Event'), " [EVEN]</option>";
echo "\n</select>\n";