diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-22 09:43:32 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-22 09:47:11 +0000 |
| commit | 06f8f0469915f6686d9f5f6f1ab5feff18722ffd (patch) | |
| tree | 91cbbb0637243fa5a823bcc708f9b5142f72b7b8 /addons/payment/static/src | |
| parent | 07b8eff60ff328058032943b64536d9a47e70d6f (diff) | |
| parent | eb4700f17f5fa2fb10e2170642b8e56291f77a36 (diff) | |
[MERGE] Forward port of 11.0 to saas-11.3 up to eb4700f17f5
closes odoo/odoo#35054
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/payment/static/src')
| -rw-r--r-- | addons/payment/static/src/js/payment_translations.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/payment/static/src/js/payment_translations.js b/addons/payment/static/src/js/payment_translations.js new file mode 100644 index 00000000000..199dcc2a276 --- /dev/null +++ b/addons/payment/static/src/js/payment_translations.js @@ -0,0 +1,10 @@ +// TODO Remove me >=saas-12.5, this is a disgrace +// This is an hack to get the string_true and hover_false options translated on +// the boolean_button terminology widget. The terms are translated through +// _t(opt_terms.string_true) which will only work if the terms are already +// present in the translation map. +// This code does nothing but marks the strings as translatable +var _t = function(x) { return x; }; + +_t("Published"); +_t("Publish"); |
