Repository: SVG-Edit/svgedit (language: python)

Issue:
Left hand ruler draws in wrong place when changing icon sizes
If you change the icon size to small for the controls then the left hand panel has a gap before the ruler is drawn.



Discussion / hints:
Replicated for small as well as large and extra-large...
Note, that "Small" is now the default value, so any time you open the editor, rulers are off. The only icon size that produces correct rulers positioning is "Medium". For anyone looking for a workaround, go to the _SVG-Edit -> Editor Options_ and change "Icon size" from "Small" to "Medium".
![image](https://user-images.githubusercontent.com/5202330/76347471-634ef680-630f-11ea-9660-5bd5a6d9b1b2.png)


Also, here is a screenshot of the bug for reference:
https://unpkg.com/svgedit@5.1.0/editor/svg-editor.html
![image](https://user-images.githubusercontent.com/5202330/76347121-c1c7a500-630e-11ea-88c7-e07ce67e0d23.png)
Related issue: [Icon bugs on non-medium icon sizes](https://code.google.com/archive/p/svg-edit/issues/507) from 2010

> I believe all these bugs have been fixed in r1488.

Love resolution comments starting with "I believe ..." =-D

Commit: 9d08f8c0a772dcee26e5ad27b1e9ecb6a15e89aa (God bless the VCS)
And here is the issue in which resizable icons were introduced: [Resizable icons (using SVG icons)](https://code.google.com/archive/p/svg-edit/issues/63)

Commits:
- c5467373ef2dcb37ad4e82739c0dbf79c9a4a39e - _Made editor preferences (language, icon size and background) be saved and re-applied on page load_
- 2a46a5eca0d3b2d6d1174bbd579eea434ca9fd37 - _Adding SVG icons to svg-editor.html and related scripts, keeping old with -classic suffix_
- 78bd23003cdd6180b9c90fab02bbe46e3152a2b0 - _Made SVG-icons toolbar resizing more efficient, added new size option_
- 20d7b92b58ffc240dc1a6517c9897d011e1ff485 - _Added more SVG icons, added experimental option to change icon size, fixed clone offset on zoom_

Looks like most open source developers who understand SVG are eventually consumed by Adobe...
Oh well, I guess I'll just uncomment this in my `svgedit-config.es.js`:
```javascript
svgEditor.setConfig({
  iconsize: 'm', // Will default to 's' if the window height is smaller than the minimum height and 'm' otherwise
}
```

Curiously enough, the comment says that it only defaults to `'s'` if window height is small. Apparently my 1080p screen is "small"...
Note that the comment says "If the window height is smaller than the minimum height".

The code which determines this is this following portion of `svg-editor.js`:

```js
        const tleft = $('#tools_left');

        let minHeight;
        if (tleft.length) {
          minHeight = tleft.offset().top + tleft.outerHeight();
        }

        const size = editor.pref('iconsize');
        editor.setIconSize(size || ($(window).height() < minHeight ? 's' : 'm'));
```

IIRC, we may have changed (more recently) to a small icon size because medium icons had its own problems.

Would be really nice if we had people adding to our tests for against the nice and shiny Cypress UI + Cypress UI code coverage plugin testing framework, as we could really prevent a lot of the regressions which otherwise inevitably happen, particularly when other developers come on board.
That comment could probably be better worded though to indicate the minimum height is one based on the toolbar.

Also, it seems the code above may explain the reason we changed to small; that the toolbar was ending up too large for some screens. Let us know if you find some flaws in this.
V7 has a fixed icon size.

Fix patch:
diff --git a/src/editor/ConfigObj.js b/src/editor/ConfigObj.js
index a027330c9..ef9e96f5f 100644
--- a/src/editor/ConfigObj.js
+++ b/src/editor/ConfigObj.js
@@ -23,7 +23,6 @@ export default class ConfigObj {
       * Preferences.
       * @interface module:SVGEditor.Prefs
       * @property {string} [lang="en"] Two-letter language code. The language must exist in the Editor Preferences language list. Defaults to "en" if `locale.js` detection does not detect another language.
-      * @property {module:SVGEditor.IconSize} [iconsize="s" || "m"] Size of the toolbar icons. Will default to 's' if the window height is smaller than the minimum height and 'm' otherwise.
       * @property {string} [bkgd_color="#FFF"] Color hex for canvas background color. Defaults to white.
       * @property {string} [bkgd_url=""] Background raster image URL. This image will fill the background of the document; useful for tracing purposes.
       * @property {"embed"|"ref"} [img_save="embed"] Defines whether included raster images should be saved as Data URIs when possible, or as URL references. Settable in the Document Properties dialog.
@@ -41,7 +40,6 @@ export default class ConfigObj {
         * Will default to 's' if the window height is smaller than the minimum
         * height and 'm' otherwise.
         */
-      iconsize: '',
       bkgd_color: '#FFF',
       bkgd_url: '',
       // DOCUMENT PROPERTIES (DIALOG)
diff --git a/src/editor/dialogs/editorPreferencesDialog.js b/src/editor/dialogs/editorPreferencesDialog.js
index 010cca4dd..034bb1433 100644
--- a/src/editor/dialogs/editorPreferencesDialog.js
+++ b/src/editor/dialogs/editorPreferencesDialog.js
@@ -179,15 +179,6 @@ template.innerHTML = `
             <option id="lang_zh-TW" value="zh-TW">繁體中文</option>
           </select>
         </label>
-        <label>
-          <span id="svginfo_icons"></span>
-          <select id="iconsize">
-            <option id="icon_small" value="s"></option>
-            <option id="icon_medium" value="m" selected="selected"></option>
-            <option id="icon_large" value="l"></option>
-            <option id="icon_xlarge" value="xl"></option>
-          </select>
-        </label>
         <fieldset id="change_background">
           <legend id="svginfo_change_background"></legend>
           <div id="bg_blocks"></div>
@@ -253,7 +244,6 @@ export class SeEditPrefsDialog extends HTMLElement {
     this.$saveBtn = this._shadowRoot.querySelector('#tool_prefs_save');
     this.$cancelBtn = this._shadowRoot.querySelector('#tool_prefs_cancel');
     this.$langSelect = this._shadowRoot.querySelector('#lang_select');
-    this.$iconSize = this._shadowRoot.querySelector('#iconsize');
     this.$bgBlocks = this._shadowRoot.querySelector('#bg_blocks');
     this.$bgURL = this._shadowRoot.querySelector('#canvas_bg_url');
     this.$gridSnappingOn = this._shadowRoot.querySelector('#grid_snapping_on');
@@ -272,11 +262,6 @@ export class SeEditPrefsDialog extends HTMLElement {
     this.setAttribute('common-cancel', i18next.t('common.cancel'));
     this.setAttribute('config-editor_prefs', i18next.t('config.editor_prefs'));
     this.setAttribute('config-language', i18next.t('config.language'));
-    this.setAttribute('config-icon_size', i18next.t('config.icon_size'));
-    this.setAttribute('config-icon_small', i18next.t('config.icon_small'));
-    this.setAttribute('config-icon_medium', i18next.t('config.icon_medium'));
-    this.setAttribute('config-icon_large', i18next.t('config.icon_large'));
-    this.setAttribute('config-icon_xlarge', i18next.t('config.icon_xlarge'));
     this.setAttribute('config-background', i18next.t('config.background'));
     this.setAttribute('common-url', i18next.t('common.url'));
     this.setAttribute('config-editor_bg_note', i18next.t('config.editor_bg_note'));
@@ -294,7 +279,7 @@ export class SeEditPrefsDialog extends HTMLElement {
    */
   static get observedAttributes () {
     // eslint-disable-next-line max-len
-    return [ 'dialog', 'lang', 'iconsize', 'canvasbg', 'bgurl', 'gridsnappingon', 'gridsnappingstep', 'gridcolor', 'showrulers', 'baseunit', 'common-ok', 'common-cancel', 'config-editor_prefs', 'config-language', 'config-icon_size', 'config-icon_small', 'config-icon_medium', 'config-icon_large', 'config-icon_xlarge', 'config-background', 'common-url', 'config-editor_bg_note', 'config-grid', 'config-snapping_onoff', 'config-snapping_stepsize', 'config-grid_color', 'config-units_and_rulers', 'config-show_rulers', 'config-base_unit' ];
+    return [ 'dialog', 'lang', 'canvasbg', 'bgurl', 'gridsnappingon', 'gridsnappingstep', 'gridcolor', 'showrulers', 'baseunit', 'common-ok', 'common-cancel', 'config-editor_prefs', 'config-language', 'config-background', 'common-url', 'config-editor_bg_note', 'config-grid', 'config-snapping_onoff', 'config-snapping_stepsize', 'config-grid_color', 'config-units_and_rulers', 'config-show_rulers', 'config-base_unit' ];
   }
   /**
    * @function attributeChangedCallback
@@ -319,9 +304,6 @@ export class SeEditPrefsDialog extends HTMLElement {
     case 'lang':
       this.$langSelect.value = newValue;
       break;
-    case 'iconsize':
-      this.$iconSize.value = newValue;
-      break;
     case 'canvasbg':
       if (!newValue) {
         if (blocks.length > 0) {
@@ -378,26 +360,6 @@ export class SeEditPrefsDialog extends HTMLElement {
       node = this._shadowRoot.querySelector('#svginfo_lang');
       node.textContent = newValue;
       break;
-    case 'config-icon_size':
-      node = this._shadowRoot.querySelector('#svginfo_icons');
-      node.textContent = newValue;
-      break;
-    case 'config-icon_small':
-      node = this._shadowRoot.querySelector('#icon_small');
-      node.textContent = newValue;
-      break;
-    case 'config-icon_medium':
-      node = this._shadowRoot.querySelector('#icon_medium');
-      node.textContent = newValue;
-      break;
-    case 'config-icon_large':
-      node = this._shadowRoot.querySelector('#icon_large');
-      node.textContent = newValue;
-      break;
-    case 'config-icon_xlarge':
-      node = this._shadowRoot.querySelector('#icon_xlarge');
-      node.textContent = newValue;
-      break;
     case 'config-background':
       node = this._shadowRoot.querySelector('#svginfo_change_background');
       node.textContent = newValue;
@@ -458,20 +420,6 @@ export class SeEditPrefsDialog extends HTMLElement {
   set lang (value) {
     this.setAttribute('lang', value);
   }
-  /**
-   * @function get
-   * @returns {any}
-   */
-  get iconsize () {
-    return this.getAttribute('iconsize');
-  }
-  /**
-   * @function set
-   * @returns {void}
-   */
-  set iconsize (value) {
-    this.setAttribute('iconsize', value);
-  }
   /**
    * @function get
    * @returns {any}
@@ -600,7 +548,6 @@ export class SeEditPrefsDialog extends HTMLElement {
       const closeEvent = new CustomEvent('change', { detail: {
         lang: this.$langSelect.value,
         dialog: 'close',
-        iconsize: this.$iconSize.value,
         bgcolor: color,
         bgurl: this.$bgURL.value,
         gridsnappingon: this.$gridSnappingOn.checked,
diff --git a/src/editor/index.js b/src/editor/index.js
index 71a442767..d38e6c9fd 100644
--- a/src/editor/index.js
+++ b/src/editor/index.js
@@ -114,7 +114,6 @@ svgEditor.setConfig({
   // lang: '',
   // Will default to 's' if the window height is smaller than the minimum
   //  height and 'm' otherwise
-  // iconsize: '',
   /**
   * When showing the preferences dialog, svg-editor.js currently relies
   * on `curPrefs` instead of `svgEditor.pref`, so allowing an override for
diff --git a/src/editor/locale/lang.af.js b/src/editor/locale/lang.af.js
index 193b6dd61..26c74280d 100644
--- a/src/editor/locale/lang.af.js
+++ b/src/editor/locale/lang.af.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Kies gedefinieerde:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ar.js b/src/editor/locale/lang.ar.js
index 8a119231f..c7a0f4203 100644
--- a/src/editor/locale/lang.ar.js
+++ b/src/editor/locale/lang.ar.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'حدد سلفا:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.az.js b/src/editor/locale/lang.az.js
index 81f93c033..ff3d7f96d 100644
--- a/src/editor/locale/lang.az.js
+++ b/src/editor/locale/lang.az.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefined:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.be.js b/src/editor/locale/lang.be.js
index 53108ac9d..c68fa730e 100644
--- a/src/editor/locale/lang.be.js
+++ b/src/editor/locale/lang.be.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Выберыце прадвызначэньні:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.bg.js b/src/editor/locale/lang.bg.js
index a75cccc89..e597d5568 100644
--- a/src/editor/locale/lang.bg.js
+++ b/src/editor/locale/lang.bg.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Изберете предварително:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ca.js b/src/editor/locale/lang.ca.js
index 7d1406b1c..20b2a34ae 100644
--- a/src/editor/locale/lang.ca.js
+++ b/src/editor/locale/lang.ca.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Seleccioneu predefinides:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.cs.js b/src/editor/locale/lang.cs.js
index 375466077..74d261de4 100644
--- a/src/editor/locale/lang.cs.js
+++ b/src/editor/locale/lang.cs.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Vkládat do dokumentu',
     image_opt_ref: 'Jen odkazem',
     editor_prefs: 'Nastavení editoru',
-    icon_size: 'Velikost ikon',
     language: 'Jazyk',
     background: 'Obrázek v pozadí editoru',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Pozor: obrázek v pozadí nebude uložen jako součást dokumentu.',
-    icon_large: 'velké',
-    icon_medium: 'střední',
-    icon_small: 'malé',
-    icon_xlarge: 'největší',
     select_predefined: 'vybrat předdefinovaný:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.cy.js b/src/editor/locale/lang.cy.js
index b59781030..71286854c 100644
--- a/src/editor/locale/lang.cy.js
+++ b/src/editor/locale/lang.cy.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Rhagosodol Dewis:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.da.js b/src/editor/locale/lang.da.js
index 1326e6b11..9189d0af8 100644
--- a/src/editor/locale/lang.da.js
+++ b/src/editor/locale/lang.da.js
@@ -196,15 +196,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Vælg foruddefinerede:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.de.js b/src/editor/locale/lang.de.js
index bea622753..72396778d 100644
--- a/src/editor/locale/lang.de.js
+++ b/src/editor/locale/lang.de.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Daten einbetten (lokale Dateien)',
     image_opt_ref: 'Benutze die Dateireferenz',
     editor_prefs: 'Editor-Einstellungen',
-    icon_size: 'Symbol-Abmessungen',
     language: 'Sprache',
     background: 'Editor-Hintergrund',
     editor_img_url: 'Bild-URL',
     editor_bg_note: 'Anmerkung: Der Hintergrund wird mit dem Bild nicht gespeichert.',
-    icon_large: 'Groß',
-    icon_medium: 'Mittel',
-    icon_small: 'Klein',
-    icon_xlarge: 'Sehr Groß',
     select_predefined: 'Auswahl einer vordefinierten:',
     units_and_rulers: 'Einheiten und Lineale',
     show_rulers: 'Zeige Lineale',
diff --git a/src/editor/locale/lang.el.js b/src/editor/locale/lang.el.js
index f1c0ac36a..e3183bc93 100644
--- a/src/editor/locale/lang.el.js
+++ b/src/editor/locale/lang.el.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Επιλογή προκαθορισμένων:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.en.js b/src/editor/locale/lang.en.js
index 68a280a0e..8607575bd 100644
--- a/src/editor/locale/lang.en.js
+++ b/src/editor/locale/lang.en.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size:',
     language: 'Language:',
     background: 'Editor Background',
     editor_img_url: 'Image URL:',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefined:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.es.js b/src/editor/locale/lang.es.js
index b7f9dd585..99c139155 100644
--- a/src/editor/locale/lang.es.js
+++ b/src/editor/locale/lang.es.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Integrar imágenes en forma de datos (archivos locales)',
     image_opt_ref: 'Usar la referencia del archivo',
     editor_prefs: 'Preferencias del Editor',
-    icon_size: 'Tamaño de los iconos',
     language: 'Idioma',
     background: 'Fondo del editor',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Nota: El fondo no se guardará junto con la imagen.',
-    icon_large: 'Grande',
-    icon_medium: 'Mediano',
-    icon_small: 'Pequeño',
-    icon_xlarge: 'Muy grande',
     select_predefined: 'Seleccionar predefinido:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.et.js b/src/editor/locale/lang.et.js
index 33c31e292..3d5c6c1dc 100644
--- a/src/editor/locale/lang.et.js
+++ b/src/editor/locale/lang.et.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Valige eelmääratletud:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.fa.js b/src/editor/locale/lang.fa.js
index 84bee637f..c456d3db2 100644
--- a/src/editor/locale/lang.fa.js
+++ b/src/editor/locale/lang.fa.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: '‫داده های جای داده شده (پرونده های محلی)‬',
     image_opt_ref: '‫استفاده از ارجاع به پرونده‬',
     editor_prefs: '‫تنظیمات ویراستار‬',
-    icon_size: '‫اندازه شمایل‬',
     language: '‫زبان‬',
     background: '‫پس زمینه ویراستار‬',
     editor_img_url: 'Image URL',
     editor_bg_note: '‫توجه: پس زمینه همراه تصویر ذخیره نخواهد شد.‬',
-    icon_large: '‫بزرگ‬',
-    icon_medium: '‫متوسط‬',
-    icon_small: '‫کوچک‬',
-    icon_xlarge: '‫خیلی بزرگ‬',
     select_predefined: '‫از پیش تعریف شده را انتخاب کنید:‬',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.fi.js b/src/editor/locale/lang.fi.js
index c869c8c89..25ecff6b2 100644
--- a/src/editor/locale/lang.fi.js
+++ b/src/editor/locale/lang.fi.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Valitse ennalta:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.fr.js b/src/editor/locale/lang.fr.js
index 707ddbaee..5eb43a8a7 100644
--- a/src/editor/locale/lang.fr.js
+++ b/src/editor/locale/lang.fr.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Incorporer les données des images (fichiers locaux)',
     image_opt_ref: "Utiliser l'adresse des fichiers",
     editor_prefs: "Préférences de l'éditeur",
-    icon_size: 'Taille des icônes',
     language: 'Langue',
     background: "Toile de fond de l'éditeur",
     editor_img_url: 'Image URL',
     editor_bg_note: "Note : La toile de fond ne sera pas sauvegardée avec l'image.",
-    icon_large: 'Grande',
-    icon_medium: 'Moyenne',
-    icon_small: 'Petite',
-    icon_xlarge: 'Super grande',
     select_predefined: 'Sélectionner prédéfinis :',
     units_and_rulers: 'Unités et règles',
     show_rulers: 'Afficher les règles',
diff --git a/src/editor/locale/lang.fy.js b/src/editor/locale/lang.fy.js
index 0961f698f..a82592e3d 100644
--- a/src/editor/locale/lang.fy.js
+++ b/src/editor/locale/lang.fy.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Ynformaasje tafoege (lokale triemen)',
     image_opt_ref: 'Triemreferensje brûke',
     editor_prefs: 'Eigenskippen bewurker',
-    icon_size: 'Ikoangrutte',
     language: 'Taal',
     background: 'Eftergrûn bewurker',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Let op: de eftergrûn wurd net mei de ôfbielding bewarre.',
-    icon_large: 'Grut',
-    icon_medium: 'Middel',
-    icon_small: 'Lyts',
-    icon_xlarge: 'Ekstra grut',
     select_predefined: 'Selektearje:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ga.js b/src/editor/locale/lang.ga.js
index af50faf30..5f874aec3 100644
--- a/src/editor/locale/lang.ga.js
+++ b/src/editor/locale/lang.ga.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Roghnaigh réamhshainithe:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.gl.js b/src/editor/locale/lang.gl.js
index 8c9542abc..98079f045 100644
--- a/src/editor/locale/lang.gl.js
+++ b/src/editor/locale/lang.gl.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Seleccione por defecto:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.he.js b/src/editor/locale/lang.he.js
index bd232550f..9942eab7e 100755
--- a/src/editor/locale/lang.he.js
+++ b/src/editor/locale/lang.he.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'בחר מוגדרים מראש:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.hi.js b/src/editor/locale/lang.hi.js
index 970e81655..5f594c074 100644
--- a/src/editor/locale/lang.hi.js
+++ b/src/editor/locale/lang.hi.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'एम्बेड डेटा (स्थानीय फ़ाइलें)',
     image_opt_ref: 'फाइल के संदर्भ का प्रयोग',
     editor_prefs: 'संपादक वरीयताएँ',
-    icon_size: 'चिह्न का आकार',
     language: 'भाषा',
     background: 'संपादक पृष्ठभूमि',
     editor_img_url: 'Image URL',
     editor_bg_note: 'नोट: पृष्ठभूमि छवि के साथ नहीं बचायी जाएगी',
-    icon_large: 'बड़ा',
-    icon_medium: 'मध्यम',
-    icon_small: 'छोटा',
-    icon_xlarge: 'बहुत बड़ा',
     select_predefined: 'चुनें पूर्वनिर्धारित:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.hr.js b/src/editor/locale/lang.hr.js
index 52127d77f..4863869ac 100644
--- a/src/editor/locale/lang.hr.js
+++ b/src/editor/locale/lang.hr.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefinirane:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.hu.js b/src/editor/locale/lang.hu.js
index 28af52a4b..6b3df52c5 100644
--- a/src/editor/locale/lang.hu.js
+++ b/src/editor/locale/lang.hu.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Válassza ki előre definiált:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.hy.js b/src/editor/locale/lang.hy.js
index 25ad35ff4..fcf8f37f2 100644
--- a/src/editor/locale/lang.hy.js
+++ b/src/editor/locale/lang.hy.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefined:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.id.js b/src/editor/locale/lang.id.js
index 148243006..e3b1ecebf 100644
--- a/src/editor/locale/lang.id.js
+++ b/src/editor/locale/lang.id.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Pilih standar:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.is.js b/src/editor/locale/lang.is.js
index f95ed9b6b..7cfd44fa1 100644
--- a/src/editor/locale/lang.is.js
+++ b/src/editor/locale/lang.is.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Veldu predefined:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.it.js b/src/editor/locale/lang.it.js
index 935ad40ff..13527b7c3 100644
--- a/src/editor/locale/lang.it.js
+++ b/src/editor/locale/lang.it.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Incorpora dati (file locali)',
     image_opt_ref: "Usa l'identificativo di riferimento",
     editor_prefs: 'Preferenze',
-    icon_size: 'Dimensione Icona',
     language: 'Lingua',
     background: "Sfondo dell'editor",
     editor_img_url: 'Image URL',
     editor_bg_note: "Nota: Lo sfondo non verrà salvato con l'immagine.",
-    icon_large: 'Grande',
-    icon_medium: 'Medio',
-    icon_small: 'Piccolo',
-    icon_xlarge: 'Molto grande',
     select_predefined: 'Selezioni predefinite:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ja.js b/src/editor/locale/lang.ja.js
index 0b2fa93e7..ba20b09cc 100644
--- a/src/editor/locale/lang.ja.js
+++ b/src/editor/locale/lang.ja.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'SVGファイルに埋め込む',
     image_opt_ref: '画像を参照する',
     editor_prefs: 'エディタの設定',
-    icon_size: 'アイコンの大きさ',
     language: '言語',
     background: 'エディタの背景色',
     editor_img_url: 'Image URL',
     editor_bg_note: '※背景色はファイルに保存されません。',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'デフォルト',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ko.js b/src/editor/locale/lang.ko.js
index 7ec90edaf..b0772cef3 100644
--- a/src/editor/locale/lang.ko.js
+++ b/src/editor/locale/lang.ko.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: '미리 정의된 선택:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.lt.js b/src/editor/locale/lang.lt.js
index 9d00e1c41..2ff0d2a2c 100644
--- a/src/editor/locale/lang.lt.js
+++ b/src/editor/locale/lang.lt.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Pasirinkite iš anksto:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.lv.js b/src/editor/locale/lang.lv.js
index 98326ad58..734b906a4 100644
--- a/src/editor/locale/lang.lv.js
+++ b/src/editor/locale/lang.lv.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Izvēlieties iepriekš:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.mk.js b/src/editor/locale/lang.mk.js
index 7b01fda7b..08d4f1cf2 100644
--- a/src/editor/locale/lang.mk.js
+++ b/src/editor/locale/lang.mk.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Изберете предефинирани:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ms.js b/src/editor/locale/lang.ms.js
index edcc1cb15..2a2a788ad 100644
--- a/src/editor/locale/lang.ms.js
+++ b/src/editor/locale/lang.ms.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Pilih standard:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.mt.js b/src/editor/locale/lang.mt.js
index ca42a62d2..8338d49ec 100644
--- a/src/editor/locale/lang.mt.js
+++ b/src/editor/locale/lang.mt.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefiniti:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.nl.js b/src/editor/locale/lang.nl.js
index 55a0dbbc3..013d5b47a 100644
--- a/src/editor/locale/lang.nl.js
+++ b/src/editor/locale/lang.nl.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Toevoegen data (lokale bestanden)',
     image_opt_ref: 'Gebruik bestand referentie',
     editor_prefs: 'Editor eigenschappen',
-    icon_size: 'Icoon grootte',
     language: 'Taal',
     background: 'Editor achtergrond',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Let op: De achtergrond wordt niet opgeslagen met de afbeelding.',
-    icon_large: 'Groot',
-    icon_medium: 'Gemiddeld',
-    icon_small: 'Klein',
-    icon_xlarge: 'Extra groot',
     select_predefined: 'Kies voorgedefinieerd:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.no.js b/src/editor/locale/lang.no.js
index ae97a826b..13d038837 100644
--- a/src/editor/locale/lang.no.js
+++ b/src/editor/locale/lang.no.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Velg forhåndsdefinerte:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.pl.js b/src/editor/locale/lang.pl.js
index f46af9881..8ba0107e6 100644
--- a/src/editor/locale/lang.pl.js
+++ b/src/editor/locale/lang.pl.js
@@ -194,15 +194,10 @@ export default {
     image_opt_embed: 'Dane osadzone (pliki lokalne)',
     image_opt_ref: 'Użyj referencji do pliku',
     editor_prefs: 'Ustawienia edytora',
-    icon_size: 'Rozmiar ikon',
     language: 'Język',
     background: 'Tło edytora',
     editor_img_url: 'Adres URL obrazu',
     editor_bg_note: 'Uwaga: Tło nie zostało zapisane z obrazem.',
-    icon_large: 'Duże',
-    icon_medium: 'Średnie',
-    icon_small: 'Małe',
-    icon_xlarge: 'Bardzo duże',
     select_predefined: 'Wybierz predefiniowany:',
     units_and_rulers: 'Jednostki/Linijki',
     show_rulers: 'Pokaż linijki',
diff --git a/src/editor/locale/lang.pt-BR.js b/src/editor/locale/lang.pt-BR.js
index f62a54d90..675a8f0f2 100644
--- a/src/editor/locale/lang.pt-BR.js
+++ b/src/editor/locale/lang.pt-BR.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Incorporadas (arquivos locais)',
     image_opt_ref: 'Usar referência',
     editor_prefs: 'Preferências',
-    icon_size: 'Tamanho dos ícones',
     language: 'Idioma',
     background: 'Fundo da página',
     editor_img_url: 'URL da Imagem',
     editor_bg_note: 'Atenção: Fundo da página não será salvo.',
-    icon_large: 'Grande',
-    icon_medium: 'Médio',
-    icon_small: 'Pequeno',
-    icon_xlarge: 'Extra Grande',
     select_predefined: 'Modelos:',
     units_and_rulers: 'Unidade & Réguas',
     show_rulers: 'Mostrar réguas',
diff --git a/src/editor/locale/lang.pt-PT.js b/src/editor/locale/lang.pt-PT.js
index 414e69a0d..643088a2b 100644
--- a/src/editor/locale/lang.pt-PT.js
+++ b/src/editor/locale/lang.pt-PT.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Selecione predefinidos:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.ro.js b/src/editor/locale/lang.ro.js
index d0d85fe30..e92922c15 100644
--- a/src/editor/locale/lang.ro.js
+++ b/src/editor/locale/lang.ro.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Includeţi Datele (fişiere locale)',
     image_opt_ref: 'Foloseşte referinţe la fişiere',
     editor_prefs: 'Preferinţele Editorului',
-    icon_size: 'Dimensiunile Butoanelor',
     language: 'Limba',
     background: 'Fondul Editorului',
     editor_img_url: 'URL-ul Imaginii',
     editor_bg_note: 'Notă: Fondul nu va fi salvat cu imaginea.',
-    icon_large: 'Mari',
-    icon_medium: 'Medii',
-    icon_small: 'Mici',
-    icon_xlarge: 'Foarte Mari',
     select_predefined: 'Selecţii predefinite:',
     units_and_rulers: 'Unitati si Rigle',
     show_rulers: 'Arată Riglele',
diff --git a/src/editor/locale/lang.ru.js b/src/editor/locale/lang.ru.js
index 757a221ff..134f6cc75 100644
--- a/src/editor/locale/lang.ru.js
+++ b/src/editor/locale/lang.ru.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Локальные файлы',
     image_opt_ref: 'По ссылкам',
     editor_prefs: 'Параметры',
-    icon_size: 'Размер значков',
     language: 'Язык',
     background: 'Фон',
     editor_img_url: 'Изображение URL',
     editor_bg_note: '(Фон не сохранится вместе с изображением.)',
-    icon_large: 'Большие',
-    icon_medium: 'Средние',
-    icon_small: 'Малые',
-    icon_xlarge: 'Огромные',
     select_predefined: 'Выбирать предопределенный размер',
     units_and_rulers: 'Единицы & Линейки',
     show_rulers: 'Показывать линейки',
diff --git a/src/editor/locale/lang.sk.js b/src/editor/locale/lang.sk.js
index dc6848617..077ac4d2c 100644
--- a/src/editor/locale/lang.sk.js
+++ b/src/editor/locale/lang.sk.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Vložiť data (lokálne súbory)',
     image_opt_ref: 'Použiť referenciu na súbor',
     editor_prefs: 'Vlastnosti editora',
-    icon_size: 'Veľkosť ikon',
     language: 'Jazyk',
     background: 'Zmeniť pozadie',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Poznámka: Pozadie nebude uložené spolu s obrázkom.',
-    icon_large: 'Veľká',
-    icon_medium: 'Stredná',
-    icon_small: 'Malá',
-    icon_xlarge: 'Extra veľká',
     select_predefined: 'Vybrať preddefinovaný:',
     units_and_rulers: 'Jednotky & Pravítka',
     show_rulers: 'Ukáž pravítka',
diff --git a/src/editor/locale/lang.sl.js b/src/editor/locale/lang.sl.js
index 99966d06e..87c37f510 100644
--- a/src/editor/locale/lang.sl.js
+++ b/src/editor/locale/lang.sl.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Vključene (local files)',
     image_opt_ref: 'Povezane (Use file reference)',
     editor_prefs: 'Lastnosti urejevalnika',
-    icon_size: 'Velikost ikon',
     language: 'Jezik',
     background: 'Ozadje urejevalnika',
     editor_img_url: 'URL slike',
     editor_bg_note: 'OPOMBA: Ozdaje ne bo shranjeno s sliko.',
-    icon_large: 'velike',
-    icon_medium: 'srednje',
-    icon_small: 'majhne',
-    icon_xlarge: 'zelo velike',
     select_predefined: 'Izberi prednastavljeno:',
     units_and_rulers: 'Enote & ravnilo',
     show_rulers: 'Pokaži ravnilo',
diff --git a/src/editor/locale/lang.sq.js b/src/editor/locale/lang.sq.js
index 6a5772de5..e319a02a9 100644
--- a/src/editor/locale/lang.sq.js
+++ b/src/editor/locale/lang.sq.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Zgjidhni paracaktuara:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.sr.js b/src/editor/locale/lang.sr.js
index ea8fd85bf..9a8eac77e 100644
--- a/src/editor/locale/lang.sr.js
+++ b/src/editor/locale/lang.sr.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Изаберите унапред дефинисани:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.sv.js b/src/editor/locale/lang.sv.js
index 79b81adc9..a17db58e9 100644
--- a/src/editor/locale/lang.sv.js
+++ b/src/editor/locale/lang.sv.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Välj fördefinierad:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.sw.js b/src/editor/locale/lang.sw.js
index f52f4556e..a58f7d26c 100644
--- a/src/editor/locale/lang.sw.js
+++ b/src/editor/locale/lang.sw.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefined:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.th.js b/src/editor/locale/lang.th.js
index e3016fd4a..8a203808f 100644
--- a/src/editor/locale/lang.th.js
+++ b/src/editor/locale/lang.th.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'เลือกที่กำหนดไว้ล่วงหน้า:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.tl.js b/src/editor/locale/lang.tl.js
index 20a6d51b0..0e09fbba1 100644
--- a/src/editor/locale/lang.tl.js
+++ b/src/editor/locale/lang.tl.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Piliin ang paunang-natukoy na:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.tr.js b/src/editor/locale/lang.tr.js
index d08e2c760..c703aafa9 100644
--- a/src/editor/locale/lang.tr.js
+++ b/src/editor/locale/lang.tr.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Seçin önceden tanımlanmış:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.uk.js b/src/editor/locale/lang.uk.js
index b47fd586c..e20ee9147 100644
--- a/src/editor/locale/lang.uk.js
+++ b/src/editor/locale/lang.uk.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Виберіть зумовлений:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.vi.js b/src/editor/locale/lang.vi.js
index ec09f523c..8eebdf8f0 100644
--- a/src/editor/locale/lang.vi.js
+++ b/src/editor/locale/lang.vi.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Chọn định sẵn:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.yi.js b/src/editor/locale/lang.yi.js
index 136b7f2da..7b871d9ae 100644
--- a/src/editor/locale/lang.yi.js
+++ b/src/editor/locale/lang.yi.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'סעלעקטירן פּרעדעפינעד:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.zh-CN.js b/src/editor/locale/lang.zh-CN.js
index 62f71bc04..eee150b56 100644
--- a/src/editor/locale/lang.zh-CN.js
+++ b/src/editor/locale/lang.zh-CN.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: '嵌入数据 (本地文件)',
     image_opt_ref: '使用文件引用',
     editor_prefs: '编辑器首选项',
-    icon_size: '图标大小',
     language: '语言',
     background: '编辑器背景',
     editor_img_url: '图像 URL',
     editor_bg_note: '注意: 背景不会保存在图像中.',
-    icon_large: '大',
-    icon_medium: '中',
-    icon_small: '小',
-    icon_xlarge: '特大',
     select_predefined: '选择预定义:',
     units_and_rulers: '单位 & 标尺',
     show_rulers: '显示标尺',
diff --git a/src/editor/locale/lang.zh-HK.js b/src/editor/locale/lang.zh-HK.js
index 5c4ccaa0b..a5103227e 100644
--- a/src/editor/locale/lang.zh-HK.js
+++ b/src/editor/locale/lang.zh-HK.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: '选择预定义:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',
diff --git a/src/editor/locale/lang.zh-TW.js b/src/editor/locale/lang.zh-TW.js
index 4bb7ea7b4..da6ea554b 100644
--- a/src/editor/locale/lang.zh-TW.js
+++ b/src/editor/locale/lang.zh-TW.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: '內嵌資料 (本地端檔案)',
     image_opt_ref: '使用檔案參照',
     editor_prefs: '編輯器屬性',
-    icon_size: '圖示大小',
     language: '語言',
     background: '編輯器背景',
     editor_img_url: 'Image URL',
     editor_bg_note: '注意: 編輯器背景不會和圖像一起儲存',
-    icon_large: '大',
-    icon_medium: '中',
-    icon_small: '小',
-    icon_xlarge: '特大',
     select_predefined: '使用預設值:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',


Test patch:
diff --git a/src/editor/locale/lang.test.js b/src/editor/locale/lang.test.js
index d0aaa8e2c..7c3c2697f 100644
--- a/src/editor/locale/lang.test.js
+++ b/src/editor/locale/lang.test.js
@@ -193,15 +193,10 @@ export default {
     image_opt_embed: 'Embed data (local files)',
     image_opt_ref: 'Use file reference',
     editor_prefs: 'Editor Preferences',
-    icon_size: 'Icon size',
     language: 'Language',
     background: 'Editor Background',
     editor_img_url: 'Image URL',
     editor_bg_note: 'Note: Background will not be saved with image.',
-    icon_large: 'Large',
-    icon_medium: 'Medium',
-    icon_small: 'Small',
-    icon_xlarge: 'Extra Large',
     select_predefined: 'Select predefined:',
     units_and_rulers: 'Units & Rulers',
     show_rulers: 'Show rulers',