mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch '4290-Opciones-Adicionales-Templates-Alertas-Idiomas' into 'develop'
Possible solution to avoid issues with JS and apostrophe of other languages strings See merge request artica/pandorafms!2932
This commit is contained in:
commit
810ad03c65
@ -455,7 +455,7 @@ function __($string /*, variable arguments */)
|
|||||||
return $string;
|
return $string;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $l10n->translate($string);
|
return str_replace('\'', '`', $l10n->translate($string));
|
||||||
}
|
}
|
||||||
|
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
@ -465,7 +465,7 @@ function __($string /*, variable arguments */)
|
|||||||
return vsprintf($string, $args);
|
return vsprintf($string, $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
return vsprintf($l10n->translate($string), $args);
|
return vsprintf(str_replace('\'', '`', $l10n->translate($string)), $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -20268,7 +20268,7 @@ msgid ""
|
|||||||
"The alert would fire when the value matches <span id=\"value\"></span>"
|
"The alert would fire when the value matches <span id=\"value\"></span>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"سيتم إطلاق التنبيه عندما تتطابق القيمة مع ما يلي <span id=\\\"value\\"
|
"سيتم إطلاق التنبيه عندما تتطابق القيمة مع ما يلي <span id=\\\"value\\"
|
||||||
"\"></span"
|
"\"></span>"
|
||||||
|
|
||||||
#: ../../include/functions_ui.php:1003 ../../godmode/alerts/alert_view.php:147
|
#: ../../include/functions_ui.php:1003 ../../godmode/alerts/alert_view.php:147
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -20284,9 +20284,7 @@ msgid ""
|
|||||||
"The alert would fire when the value is between <span id=\"min\"></span> and "
|
"The alert would fire when the value is between <span id=\"min\"></span> and "
|
||||||
"<span id=\"max\"></span>"
|
"<span id=\"max\"></span>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"سيتم إطلاق التنبيه عندما تكون القيمة بين <span id=\\\"min\\\"></span> and "
|
"سيتم إطلاق التنبيه عندما تكون القيمة بين <span id=\\\"min\\\"></span> and <span id=\\\"max\\\"></span>"
|
||||||
"\"\r\n"
|
|
||||||
"\"<span id=\\\"max\\\"></span>"
|
|
||||||
|
|
||||||
#: ../../include/functions_ui.php:1012
|
#: ../../include/functions_ui.php:1012
|
||||||
#: ../../godmode/alerts/configure_alert_template.php:808
|
#: ../../godmode/alerts/configure_alert_template.php:808
|
||||||
@ -20295,9 +20293,7 @@ msgid ""
|
|||||||
"The alert would fire when the value is not between <span id=\"min\"></span> "
|
"The alert would fire when the value is not between <span id=\"min\"></span> "
|
||||||
"and <span id=\"max\"></span>"
|
"and <span id=\"max\"></span>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\" سيتم إطلاق التنبيه عندما لا تكون القيمة بين <span id=\\\"min\\\"></span> "
|
"سيتم إطلاق التنبيه عندما لا تكون القيمة بين <span id=\\\"min\\\"></span> and <span id=\\\"max\\\"></span>"
|
||||||
"\" \r\n"
|
|
||||||
"\"and <span id=\\\"max\\\"></span>"
|
|
||||||
|
|
||||||
#: ../../include/functions_ui.php:1016
|
#: ../../include/functions_ui.php:1016
|
||||||
msgid "The alert would fire when the value is over <span id=\"max\"></span>"
|
msgid "The alert would fire when the value is over <span id=\"max\"></span>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user