From 93c634cf8b3d4c8194fd172b804c23375ca936a4 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 6 Mar 2016 13:00:39 +0000 Subject: [PATCH] Rename and restyle editor Apply button As a Save Metadata button with a 'save' icon. --- src/gui/html/elements/loot-plugin-editor.html | 6 +++--- src/gui/html/js/l10n.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/html/elements/loot-plugin-editor.html b/src/gui/html/elements/loot-plugin-editor.html index 06e074df..ab8f22c4 100644 --- a/src/gui/html/elements/loot-plugin-editor.html +++ b/src/gui/html/elements/loot-plugin-editor.html @@ -53,7 +53,7 @@ loot-editor-close display: none; } #accept { - color: var(--loot-accent-color); + color: var(--loot-dark-accent-color); } #cancel { color: red; @@ -120,8 +120,8 @@ loot-editor-close
- - Apply + + Save Metadata Cancel diff --git a/src/gui/html/js/l10n.js b/src/gui/html/js/l10n.js index e544eeb8..fa0bb4c6 100644 --- a/src/gui/html/js/l10n.js +++ b/src/gui/html/js/l10n.js @@ -74,7 +74,7 @@ pluginEditor.getElementById('url').querySelector('th:first-child').textContent = l10n.translate('URL'); pluginEditor.getElementById('url').querySelector('th:nth-child(2)').textContent = l10n.translate('Name'); - pluginEditor.querySelector('paper-tooltip[for=accept]').textContent = l10n.translate('Apply'); + pluginEditor.querySelector('paper-tooltip[for=accept]').textContent = l10n.translate('Save Metadata'); pluginEditor.querySelector('paper-tooltip[for=cancel]').textContent = l10n.translate('Cancel'); }