diff --git a/addons/web_editor/i18n/web_editor.pot b/addons/web_editor/i18n/web_editor.pot index 70ea7515b8d..8d24b3c7417 100644 --- a/addons/web_editor/i18n/web_editor.pot +++ b/addons/web_editor/i18n/web_editor.pot @@ -266,21 +266,21 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Add a blockquote section." +msgid "Add a blockquote section" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Add a button." +msgid "Add a button" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Add a code section." +msgid "Add a code section" msgstr "" #. module: web_editor @@ -301,7 +301,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Add a link." +msgid "Add a link" msgstr "" #. module: web_editor @@ -478,7 +478,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Back to one column." +msgid "Back to one column" msgstr "" #. module: web_editor @@ -527,7 +527,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Big section heading." +msgid "Big section heading" msgstr "" #. module: web_editor @@ -737,21 +737,21 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Convert into 2 columns." +msgid "Convert into 2 columns" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Convert into 3 columns." +msgid "Convert into 3 columns" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Convert into 4 columns." +msgid "Convert into 4 columns" msgstr "" #. module: web_editor @@ -791,21 +791,21 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Create a list with numbering." +msgid "Create a list with numbering" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Create a simple bulleted list." +msgid "Create a simple bulleted list" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Create an URL." +msgid "Create an URL" msgstr "" #. module: web_editor @@ -1044,14 +1044,14 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Embed the image in the document." +msgid "Embed the image in the document" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Embed the youtube video in the document." +msgid "Embed the youtube video in the document" msgstr "" #. module: web_editor @@ -1476,42 +1476,42 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Insert a rating over 3 stars." +msgid "Insert a rating over 3 stars" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Insert a rating over 5 stars." +msgid "Insert a rating over 5 stars" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Insert a table." +msgid "Insert a table" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Insert a video." +msgid "Insert a video" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Insert an horizontal rule separator." +msgid "Insert an horizontal rule separator" msgstr "" #. module: web_editor #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Insert an image." +msgid "Insert an image" msgstr "" #. module: web_editor @@ -1539,7 +1539,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/wysiwyg/wysiwyg.js:0 #, python-format -msgid "Insert your signature." +msgid "Insert your signature" msgstr "" #. module: web_editor @@ -1717,7 +1717,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Medium section heading." +msgid "Medium section heading" msgstr "" #. module: web_editor @@ -1908,7 +1908,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Paragraph block." +msgid "Paragraph block" msgstr "" #. module: web_editor @@ -2471,7 +2471,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Simple text paste." +msgid "Simple text paste" msgstr "" #. module: web_editor @@ -2523,7 +2523,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Small section heading." +msgid "Small section heading" msgstr "" #. module: web_editor @@ -2599,7 +2599,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Switch the text's direction." +msgid "Switch the text's direction" msgstr "" #. module: web_editor @@ -2878,7 +2878,7 @@ msgstr "" #. openerp-web #: code:addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js:0 #, python-format -msgid "Track tasks with a checklist." +msgid "Track tasks with a checklist" msgstr "" #. module: web_editor diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js index 3012f2cd79b..0fb5e4d1048 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js +++ b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js @@ -444,7 +444,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Structure'), name: this.options._t('Bulleted list'), priority: 110, - description: this.options._t('Create a simple bulleted list.'), + description: this.options._t('Create a simple bulleted list'), fontawesome: 'fa-list-ul', callback: () => { this.execCommand('toggleList', 'UL'); @@ -454,7 +454,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Structure'), name: this.options._t('Numbered list'), priority: 100, - description: this.options._t('Create a list with numbering.'), + description: this.options._t('Create a list with numbering'), fontawesome: 'fa-list-ol', callback: () => { this.execCommand('toggleList', 'OL'); @@ -464,7 +464,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Structure'), name: this.options._t('Checklist'), priority: 90, - description: this.options._t('Track tasks with a checklist.'), + description: this.options._t('Track tasks with a checklist'), fontawesome: 'fa-check-square-o', callback: () => { this.execCommand('toggleList', 'CL'); @@ -474,7 +474,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Structure'), name: this.options._t('Table'), priority: 80, - description: this.options._t('Insert a table.'), + description: this.options._t('Insert a table'), fontawesome: 'fa-table', callback: () => { this.powerboxTablePicker.show(); @@ -484,7 +484,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Structure'), name: this.options._t('Separator'), priority: 40, - description: this.options._t('Insert an horizontal rule separator.'), + description: this.options._t('Insert an horizontal rule separator'), fontawesome: 'fa-minus', callback: () => { this.execCommand('insertHorizontalRule'); @@ -494,7 +494,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Format'), name: this.options._t('Heading 1'), priority: 50, - description: this.options._t('Big section heading.'), + description: this.options._t('Big section heading'), fontawesome: 'fa-header', callback: () => { this.execCommand('setTag', 'H1'); @@ -504,7 +504,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Format'), name: this.options._t('Heading 2'), priority: 40, - description: this.options._t('Medium section heading.'), + description: this.options._t('Medium section heading'), fontawesome: 'fa-header', callback: () => { this.execCommand('setTag', 'H2'); @@ -514,7 +514,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Format'), name: this.options._t('Heading 3'), priority: 30, - description: this.options._t('Small section heading.'), + description: this.options._t('Small section heading'), fontawesome: 'fa-header', callback: () => { this.execCommand('setTag', 'H3'); @@ -524,7 +524,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Format'), name: this.options._t('Switch direction'), priority: 20, - description: this.options._t('Switch the text\'s direction.'), + description: this.options._t('Switch the text\'s direction'), fontawesome: 'fa-exchange', callback: () => { this.execCommand('switchDirection'); @@ -534,7 +534,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Format'), name: this.options._t('Text'), priority: 10, - description: this.options._t('Paragraph block.'), + description: this.options._t('Paragraph block'), fontawesome: 'fa-paragraph', callback: () => { this.execCommand('setTag', 'P'); @@ -544,7 +544,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Widgets'), name: this.options._t('3 Stars'), priority: 20, - description: this.options._t('Insert a rating over 3 stars.'), + description: this.options._t('Insert a rating over 3 stars'), fontawesome: 'fa-star-o', callback: () => { let html = '\u200B'; @@ -557,7 +557,7 @@ export class OdooEditor extends EventTarget { category: this.options._t('Widgets'), name: this.options._t('5 Stars'), priority: 10, - description: this.options._t('Insert a rating over 5 stars.'), + description: this.options._t('Insert a rating over 5 stars'), fontawesome: 'fa-star', callback: () => { let html = '\u200B'; @@ -4043,7 +4043,7 @@ export class OdooEditor extends EventTarget { { category: this.options._t('Paste'), name: this.options._t('Paste as URL'), - description: this.options._t('Create an URL.'), + description: this.options._t('Create an URL'), fontawesome: 'fa-link', callback: () => { this.historyUndo(); @@ -4066,7 +4066,7 @@ export class OdooEditor extends EventTarget { { category: this.options._t('Paste'), name: this.options._t('Paste as text'), - description: this.options._t('Simple text paste.'), + description: this.options._t('Simple text paste'), fontawesome: 'fa-font', callback: () => {}, }, @@ -4089,7 +4089,7 @@ export class OdooEditor extends EventTarget { { category: this.options._t('Embed'), name: this.options._t('Embed Image'), - description: this.options._t('Embed the image in the document.'), + description: this.options._t('Embed the image in the document'), fontawesome: 'fa-image', callback: () => { execCommandAtStepIndex(stepIndexBeforeInsert, () => { @@ -4115,7 +4115,7 @@ export class OdooEditor extends EventTarget { { category: this.options._t('Embed'), name: this.options._t('Embed Youtube Video'), - description: this.options._t('Embed the youtube video in the document.'), + description: this.options._t('Embed the youtube video in the document'), fontawesome: 'fa-youtube-play', callback: async () => { let videoElement; diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 5090d4691a9..bdbadfe581e 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -2011,7 +2011,7 @@ const Wysiwyg = Widget.extend({ category: _t('Structure'), name: _t('Quote'), priority: 30, - description: _t('Add a blockquote section.'), + description: _t('Add a blockquote section'), fontawesome: 'fa-quote-right', callback: () => { this.odooEditor.execCommand('setTag', 'blockquote'); @@ -2021,7 +2021,7 @@ const Wysiwyg = Widget.extend({ category: _t('Structure'), name: _t('Code'), priority: 20, - description: _t('Add a code section.'), + description: _t('Add a code section'), fontawesome: 'fa-code', callback: () => { this.odooEditor.execCommand('setTag', 'pre'); @@ -2030,7 +2030,7 @@ const Wysiwyg = Widget.extend({ { category: _t('Basic blocks'), name: _t('Signature'), - description: _t('Insert your signature.'), + description: _t('Insert your signature'), fontawesome: 'fa-pencil-square-o', callback: async () => { const res = await this._rpc({ @@ -2047,7 +2047,7 @@ const Wysiwyg = Widget.extend({ category: _t('Structure'), name: _t('2 columns'), priority: 13, - description: _t('Convert into 2 columns.'), + description: _t('Convert into 2 columns'), fontawesome: 'fa-columns', callback: () => this.odooEditor.execCommand('columnize', 2, editorOptions.insertParagraphAfterColumns), isDisabled: () => { @@ -2060,7 +2060,7 @@ const Wysiwyg = Widget.extend({ category: _t('Structure'), name: _t('3 columns'), priority: 12, - description: _t('Convert into 3 columns.'), + description: _t('Convert into 3 columns'), fontawesome: 'fa-columns', callback: () => this.odooEditor.execCommand('columnize', 3, editorOptions.insertParagraphAfterColumns), isDisabled: () => { @@ -2073,7 +2073,7 @@ const Wysiwyg = Widget.extend({ category: _t('Structure'), name: _t('4 columns'), priority: 11, - description: _t('Convert into 4 columns.'), + description: _t('Convert into 4 columns'), fontawesome: 'fa-columns', callback: () => this.odooEditor.execCommand('columnize', 4, editorOptions.insertParagraphAfterColumns), isDisabled: () => { @@ -2086,7 +2086,7 @@ const Wysiwyg = Widget.extend({ category: _t('Structure'), name: _t('Remove columns'), priority: 10, - description: _t('Back to one column.'), + description: _t('Back to one column'), fontawesome: 'fa-columns', callback: () => this.odooEditor.execCommand('columnize', 0), isDisabled: () => { @@ -2103,7 +2103,7 @@ const Wysiwyg = Widget.extend({ category: _t('Navigation'), name: _t('Link'), priority: 40, - description: _t('Add a link.'), + description: _t('Add a link'), fontawesome: 'fa-link', callback: () => { this.toggleLinkTools({forceDialog: true}); @@ -2113,7 +2113,7 @@ const Wysiwyg = Widget.extend({ category: _t('Navigation'), name: _t('Button'), priority: 30, - description: _t('Add a button.'), + description: _t('Add a button'), fontawesome: 'fa-link', callback: () => { this.toggleLinkTools({forceDialog: true}); @@ -2133,7 +2133,7 @@ const Wysiwyg = Widget.extend({ category: _t('Media'), name: _t('Image'), priority: 40, - description: _t('Insert an image.'), + description: _t('Insert an image'), fontawesome: 'fa-file-image-o', callback: () => { this.openMediaDialog(); @@ -2145,7 +2145,7 @@ const Wysiwyg = Widget.extend({ category: _t('Media'), name: _t('Video'), priority: 30, - description: _t('Insert a video.'), + description: _t('Insert a video'), fontawesome: 'fa-file-video-o', callback: () => { this.openMediaDialog({noVideos: false, noImages: true, noIcons: true, noDocuments: true}); diff --git a/addons/website/i18n/website.pot b/addons/website/i18n/website.pot index 0d613fa16f0..9dc2a3a0336 100644 --- a/addons/website/i18n/website.pot +++ b/addons/website/i18n/website.pot @@ -5289,70 +5289,70 @@ msgstr "" #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a badge snippet." +msgid "Insert a badge snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a blockquote snippet." +msgid "Insert a blockquote snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a card snippet." +msgid "Insert a card snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a chart snippet." +msgid "Insert a chart snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a progress bar snippet." +msgid "Insert a progress bar snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a rating snippet." +msgid "Insert a rating snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a share snippet." +msgid "Insert a share snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert a text Highlight snippet." +msgid "Insert a text Highlight snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert an alert snippet." +msgid "Insert an alert snippet" msgstr "" #. module: website #. openerp-web #: code:addons/website/static/src/js/menu/edit.js:0 #, python-format -msgid "Insert an horizontal separator sippet." +msgid "Insert an horizontal separator snippet" msgstr "" #. module: website diff --git a/addons/website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js b/addons/website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js index f85b9b04229..9a304d57929 100644 --- a/addons/website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js +++ b/addons/website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js @@ -522,7 +522,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Alert'), priority: 100, - description: this.env._t('Insert an alert snippet.'), + description: this.env._t('Insert an alert snippet'), fontawesome: 'fa-info', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_alert"]'); @@ -532,7 +532,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Rating'), priority: 90, - description: this.env._t('Insert a rating snippet.'), + description: this.env._t('Insert a rating snippet'), fontawesome: 'fa-star-half-o', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_rating"]'); @@ -542,7 +542,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Card'), priority: 80, - description: this.env._t('Insert a card snippet.'), + description: this.env._t('Insert a card snippet'), fontawesome: 'fa-sticky-note', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_card"]'); @@ -552,7 +552,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Share'), priority: 70, - description: this.env._t('Insert a share snippet.'), + description: this.env._t('Insert a share snippet'), fontawesome: 'fa-share-square-o', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_share"]'); @@ -562,7 +562,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Text Highlight'), priority: 60, - description: this.env._t('Insert a text Highlight snippet.'), + description: this.env._t('Insert a text Highlight snippet'), fontawesome: 'fa-sticky-note', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_text_highlight"]'); @@ -572,7 +572,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Chart'), priority: 50, - description: this.env._t('Insert a chart snippet.'), + description: this.env._t('Insert a chart snippet'), fontawesome: 'fa-bar-chart', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_chart"]'); @@ -582,7 +582,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Progress Bar'), priority: 40, - description: this.env._t('Insert a progress bar snippet.'), + description: this.env._t('Insert a progress bar snippet'), fontawesome: 'fa-spinner', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_progress_bar"]'); @@ -592,7 +592,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Badge'), priority: 30, - description: this.env._t('Insert a badge snippet.'), + description: this.env._t('Insert a badge snippet'), fontawesome: 'fa-tags', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_badge"]'); @@ -602,7 +602,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Blockquote'), priority: 20, - description: this.env._t('Insert a blockquote snippet.'), + description: this.env._t('Insert a blockquote snippet'), fontawesome: 'fa-quote-left', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_blockquote"]'); @@ -612,7 +612,7 @@ export class WysiwygAdapterComponent extends ComponentAdapter { category: this.env._t('Website'), name: this.env._t('Separator'), priority: 10, - description: this.env._t('Insert an horizontal separator sippet.'), + description: this.env._t('Insert an horizontal separator snippet'), fontawesome: 'fa-minus', callback: () => { snippetCommandCallback('.oe_snippet_body[data-snippet="s_hr"]');