Commit Graph

88 Commits (202ef1939298ed60bc5053d167b106768f11d332)

Author SHA1 Message Date
oca-travis 949f63d009 [UPD] Update web_translate_dialog.pot 2021-09-17 14:23:36 +00:00
OCA Transbot b8f7863dbf Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_translate_dialog/
2021-09-17 14:04:26 +00:00
OCA-git-bot 4b9bac7e30 web_translate_dialog 13.0.1.1.0 2021-09-17 14:04:18 +00:00
oca-travis fc3082025d [UPD] Update web_translate_dialog.pot 2021-09-17 13:41:38 +00:00
Enric Tobella 60a11c95d9 [FIX] web_translate_dialog: Translations were not generated, and then cannot be stored properly 2021-07-07 10:45:22 +02:00
Enric Tobella e9aea87272 [IMP] web_translate_dialog: Allow to use it on a list inside a record 2021-07-07 10:14:52 +02:00
OCA-git-bot 5bbecbafe7 [UPD] README.rst 2021-06-09 06:28:26 +00:00
oca-travis 5d0058d0a8 [UPD] Update web_translate_dialog.pot 2021-06-09 06:21:44 +00:00
fshah f46902d013 [13.0][MIG]web_translate_dialog 2021-06-03 15:42:52 +05:30
fshah 4954513714 [IMP]web_translate_dialog: black, isort, prettier 2021-02-03 10:25:27 +05:30
Yann Papouin d1fd2da1ad Translated using Weblate (French)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_translate_dialog/fr/
2021-02-02 14:18:19 +05:30
OCA Transbot d7f54f60e4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_translate_dialog/
2021-02-02 14:18:19 +05:30
OCA-git-bot 4bc797dbf2 web_translate_dialog 12.0.1.1.3 2021-02-02 14:18:19 +05:30
oca-travis 1b90bbcacb [UPD] Update web_translate_dialog.pot 2021-02-02 14:18:19 +05:30
Telmo Santos 61d33e1fe9 [12.0] web_translate_dialog: Do not translate related readonly fields 2021-02-02 14:18:19 +05:30
OCA-git-bot 2aa8b37905 web_translate_dialog 12.0.1.1.2 2021-02-02 14:18:19 +05:30
Akim Juillerat d4c4cbf2e0 web_translate_dialog: Display only fields displayed in the view
parent.renderer.state.fields includes all the fields in the model
whereas parent.renderer.state.getFieldNames() includes all the fields
displayed in the view.
This commit filters out fields that are not displayed in the view
to avoid the TypeError "undefined is not an object (evaluating '$('[name='+field_name+']')[0].maxLength')"
because translatable_fields did include fields that are not in the view.
2021-02-02 14:18:19 +05:30
OCA Transbot f2bdcdf3da Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_translate_dialog/
2021-02-02 14:18:19 +05:30
OCA-git-bot 8b0cffa62e [UPD] README.rst 2021-02-02 14:18:19 +05:30
OCA-git-bot 70c390463c [UPD] README.rst 2021-02-02 14:18:19 +05:30
claudiagn 2c2e2dfeff Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_translate_dialog/es/
2021-02-02 14:18:19 +05:30
OCA-git-bot eb934ca65d web_translate_dialog 12.0.1.1.1 2021-02-02 14:18:19 +05:30
Akim Juillerat 68bdf67b8d [FIX] web_translate_dialog: Search using '=' to target right field
Without this commit, ir.translation are searched using a LIKE,
meaning that for a field called 'title', we'd get the translations
of all the fields beginning with title on this model.
Therefore, the returned value for field 'title' that is displayed
in the widget will be the value of the last result returned by
search_read, what could be anything beginning with title, and not
necessarily the field title itself.
2021-02-02 14:18:19 +05:30
OCA-git-bot 9d9ca93f17 web_translate_dialog 12.0.1.1.0 2021-02-02 14:18:19 +05:30
Matjaz Mozetic 2b1d79a115 Translated using Weblate (Slovenian)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_translate_dialog/sl/
2021-02-02 14:18:19 +05:30
Iryna Vushnevska ec105ef8d8 [FIX] web_transalte_dialog: iterate on correct variable 2021-02-02 14:18:19 +05:30
Iryna Vushnevska 3e37bd0424 [FIX] web_translate_dialog: load translation
translated field can be saved in input or textarea
2021-02-02 14:18:19 +05:30
OCA Transbot 66bb425e60 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_translate_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_translate_dialog/
2021-02-02 14:18:19 +05:30
OCA-git-bot 643aeeea34 [UPD] README.rst 2021-02-02 14:18:19 +05:30
oca-travis 5114371400 [UPD] Update web_translate_dialog.pot 2021-02-02 14:18:19 +05:30
Timon Tschanz ce339fc269 Fix sidebar & reenable multiple fields 2021-02-02 14:18:19 +05:30
Iryna Vyshnevska 886eb365be [IMP] web_translate_dialog: set maxlength in dialog
when field support size attribute set it to dialog to prevent aditional
input
2021-02-02 14:18:19 +05:30
Timon Tschanz b21e9687ce address comments 2021-02-02 14:18:19 +05:30
Akim Juillerat 61e3767b2d Add tr_sequence on res.lang to allow sorting languages in the translation dialog 2021-02-02 14:18:19 +05:30
Akim Juillerat 9191903bcc Remove field description column and move it to title 2021-02-02 14:18:19 +05:30
Akim Juillerat a48c11bd6e Fix sizing of textarea
Resize textarea either to the max height of its content if it stays
in the modal or to the max height available in the modal
2021-02-02 14:18:19 +05:30
Akim Juillerat 344c90ca61 Use $ instead of $el.find 2021-02-02 14:18:19 +05:30
Akim Juillerat 009df73e96 Set max-width to 90% on translate dialog 2021-02-02 14:18:19 +05:30
Akim Juillerat 35abf99efa Attend review comments 2021-02-02 14:18:19 +05:30
Akim Juillerat b8de485053 Refactor to display only existing translations 2021-02-02 14:18:19 +05:30
Akim Juillerat 0ba72bac46 Keep translated value after hitting save 2021-02-02 14:18:19 +05:30
Akim Juillerat f6180af4c0 Fix error if field to translate is not textarea 2021-02-02 14:18:19 +05:30
Akim Juillerat 4cbe5a7217 Apply autoresize on textarea elements and fix css 2021-02-02 14:18:19 +05:30
Timon Tschanz bee6901f7f fix reminder box link 2021-02-02 14:18:19 +05:30
Timon Tschanz e7815290b3 fix context and add mutex 2021-02-02 14:18:19 +05:30
Timon Tschanz 9099419614 Fix issue in manifest & move to readme folder 2021-02-02 14:18:19 +05:30
Timon Tschanz c7bf51250b [12.0][MIG] web_translate_dialog 2021-02-02 14:18:19 +05:30
oca-travis 341aa4b137 [UPD] Update web_translate_dialog.pot 2021-02-02 14:18:19 +05:30
Stéphane Bidoul (ACSONE) cec5e49e80 remove obsolete .pot files [ci skip] 2021-02-02 14:18:19 +05:30
Timon Tschanz 0a334368bf [fix] web_translate_dialog: correct context split
Fixes the display of languages other than the user language  in the translation dialog.
split_context checks if we provide more arguments than read has and then uses of the additional one as context.
Since read takes the argument load additionally to the ones already given, we need to provide it as well to ensure the context is split.
2021-02-02 14:18:19 +05:30