From e3878869409f1f8dec5df4b9fbb041ecc828f74b Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Sat, 13 Jun 2020 20:30:12 +0200 Subject: [PATCH] Update locale --- webext/_locales/en_US/messages.json | 160 ++++++++++++++++++++++++ webext/_locales/nl/messages.json | 160 ++++++++++++++++++++++++ webext/css/options.css | 24 +++- webext/options.html | 187 ++++++++++++++++++++-------- 4 files changed, 474 insertions(+), 57 deletions(-) diff --git a/webext/_locales/en_US/messages.json b/webext/_locales/en_US/messages.json index a918ab6..9417acd 100644 --- a/webext/_locales/en_US/messages.json +++ b/webext/_locales/en_US/messages.json @@ -27,5 +27,165 @@ "tab_debug": { "message": "Debug", "description": "Tab for Debug options" + }, + + "windows": { + "message": "Windows", + "description": "Title for Windows options" + }, + + "windows_min_options": { + "message": "Minimize", + "description": "Caption for Minimize options" + }, + + "windows_min_default": { + "message": "Default minimize", + "description": "Minimize option 1" + }, + + "windows_min_to_tray_1": { + "message": "Minimize to tray, method 1", + "description": "Minimize option 2" + }, + + "windows_min_to_tray_2": { + "message": "Minimize to tray, method 2", + "description": "Minimize option 3" + }, + + "windows_start_min": { + "message": "Start application minimized", + "description": "Start minimized" + }, + + "windows_min_close": { + "message": "Minimize on close", + "description": "Minimize on close" + }, + + "icons": { + "message": "Icons", + "description": "Title for Icons options" + }, + + "icons_default_options": { + "message": "Default icon", + "description": "Caption for Default Icon options" + }, + + "icons_default_tb": { + "message": "Default Thunderbird", + "description": "Default icon option 1" + }, + + "icons_default_lookthrough": { + "message": "Lookthrough icon", + "description": "Default icon option 2" + }, + + "icons_default_custom": { + "message": "Custom icon", + "description": "Default icon option 3" + }, + + "icons_default_custom_choose": { + "message": "Choose...", + "description": "Default icon option 3 button" + }, + + "icons_default_kde_integration": { + "message": "KDE integration (Hide)", + "description": "Default icon KDE integration" + }, + + "icons_unread_options": { + "message": "Unread mail icon", + "description": "Caption for Unread Icon options" + }, + + "icons_unread_blank": { + "message": "Blank icon", + "description": "Unread Icon option 1" + }, + + "icons_unread_new": { + "message": "New mail icon", + "description": "Unread Icon option 2" + }, + + "icons_unread_custom": { + "message": "Custom icon ", + "description": "Unread Icon option 3" + }, + + "icons_unread_custom_choose": { + "message": "Choose...", + "description": "Unread Icon option 3 button" + }, + + "icons_unread_no": { + "message": "No icon ", + "description": "Unread Icon option 4" + }, + + "icons_number_options": { + "message": "Number", + "description": "Caption for Number options" + }, + + "icons_number_display": { + "message": "Display unread message count", + "description": "Display the number" + }, + + "icons_number_color": { + "message": "Number color:", + "description": "Color of the number" + }, + + "icons_number_size": { + "message": "Number size:", + "description": "Size of the number" + }, + + "icons_number_count_type": { + "message": "Message count type:", + "description": "Count type options" + }, + + "icons_number_count_unread": { + "message": "Unread", + "description": "SCount unread mails" + }, + + "icons_number_count_new": { + "message": "New", + "description": "Count new mails" + }, + + "accounts": { + "message": "Accounts", + "description": "Title for Accounts options" + }, + + "debug": { + "message": "Debug", + "description": "Title for Debug options" + }, + + "debug_display": { + "message": "Display debug window", + "description": "Display the debug window" + }, + + "save_preferences": { + "message": "Save preferences", + "description": "Save preferences" + }, + + "save_preferences_button": { + "message": "Save", + "description": "Save preferences button" } } diff --git a/webext/_locales/nl/messages.json b/webext/_locales/nl/messages.json index 8226c55..7d003bc 100644 --- a/webext/_locales/nl/messages.json +++ b/webext/_locales/nl/messages.json @@ -27,5 +27,165 @@ "tab_debug": { "message": "Debug", "description": "Tab for Debug options" + }, + + "windows": { + "message": "Vensters", + "description": "Title for Windows options" + }, + + "windows_min_options": { + "message": "Minimaliseren", + "description": "Caption for Minimize options" + }, + + "windows_min_default": { + "message": "Standaard minimalisatie", + "description": "Minimize option 1" + }, + + "windows_min_to_tray_1": { + "message": "Minimaliseer naar systeemvak, methode 1", + "description": "Minimize option 2" + }, + + "windows_min_to_tray_2": { + "message": "Minimaliseer naar systeemvak, methode 2", + "description": "Minimize option 3" + }, + + "windows_start_min": { + "message": "Start programma geminimaliseerd", + "description": "Start minimized" + }, + + "windows_min_close": { + "message": "Minimaliseren bij sluiten", + "description": "Minimize on close" + }, + + "icons": { + "message": "Pictogrammen", + "description": "Title for Icons options" + }, + + "icons_default_options": { + "message": "Standaard pictogram", + "description": "Caption for Default Icon options" + }, + + "icons_default_tb": { + "message": "Standaard Thunderbird", + "description": "Default icon option 1" + }, + + "icons_default_lookthrough": { + "message": "Doorzichtig pictogram", + "description": "Default icon option 2" + }, + + "icons_default_custom": { + "message": "Aangepast pictogram", + "description": "Default icon option 3" + }, + + "icons_default_custom_choose": { + "message": "Kies...", + "description": "Default icon option 3 button" + }, + + "icons_default_kde_integration": { + "message": "KDE integratie (Verbergen)", + "description": "Default icon KDE integration" + }, + + "icons_unread_options": { + "message": "Berichten notificatie pictogram", + "description": "Caption for Unread Icon options" + }, + + "icons_unread_blank": { + "message": "Leeg pictogram", + "description": "Unread Icon option 1" + }, + + "icons_unread_new": { + "message": "Nieuw bericht pictogram", + "description": "Unread Icon option 2" + }, + + "icons_unread_custom": { + "message": "Aangepast pictogram", + "description": "Unread Icon option 3" + }, + + "icons_unread_custom_choose": { + "message": "Kies...", + "description": "Unread Icon option 3 button" + }, + + "icons_unread_no": { + "message": "Geen pictogram", + "description": "Unread Icon option 4" + }, + + "icons_number_options": { + "message": "Nummer opties", + "description": "Caption for Number options" + }, + + "icons_number_display": { + "message": "Aantal ongelezen berichten weergeven", + "description": "Display the number" + }, + + "icons_number_color": { + "message": "Nummer kleur:", + "description": "Color of the number" + }, + + "icons_number_size": { + "message": "Nummer grootte:", + "description": "Size of the number" + }, + + "icons_number_count_type": { + "message": "Type berichttelling:", + "description": "Count type options" + }, + + "icons_number_count_unread": { + "message": "Ongelezen", + "description": "SCount unread mails" + }, + + "icons_number_count_new": { + "message": "Nieuw", + "description": "Count new mails" + }, + + "accounts": { + "message": "Accounts", + "description": "Title for Accounts options" + }, + + "debug": { + "message": "Debug", + "description": "Title for Debug options" + }, + + "debug_display": { + "message": "Toon debug venster", + "description": "Display the debug window" + }, + + "save_preferences": { + "message": "Voorkeuren bewaren", + "description": "Save preferences" + }, + + "save_preferences_button": { + "message": "Opslaan", + "description": "Save preferences button" } } diff --git a/webext/css/options.css b/webext/css/options.css index f83ba25..6958a4e 100644 --- a/webext/css/options.css +++ b/webext/css/options.css @@ -60,8 +60,22 @@ body { color: dodgerblue; } +#inputradio > input[type="radio"] { + margin: 0; +} + +#inputradio > label { + display: inline; + vertical-align: top; +} + +#inputcheck { + display: flex; + align-items: center; +} + #minimizeselect { - width: 20em; + width: 25em; border-style: solid; border-width: 1px; margin: 10px 10px 10px 10px; @@ -77,7 +91,7 @@ body { } #defaulticonselect { - width: 20em; + width: 25em; border-style: solid; border-width: 1px; margin: 10px 10px 10px 10px; @@ -85,7 +99,7 @@ body { } #iconselect { - width: 20em; + width: 25em; border-style: solid; border-width: 1px; margin: 10px 10px 10px 10px; @@ -93,7 +107,7 @@ body { } #numberprops { - width: 20em; + width: 25em; border-style: solid; border-width: 1px; margin: 10px 10px 10px 10px; @@ -107,7 +121,7 @@ ul, /* Remove margins and padding from the parent ul */ #accountsTree { - width: 20em; + width: 25em; border-style: solid; border-width: 1px; margin: 0; diff --git a/webext/options.html b/webext/options.html index cf129c5..3566c97 100644 --- a/webext/options.html +++ b/webext/options.html @@ -32,31 +32,41 @@
-

Windows

+

__MSG_windows__

- - - @@ -91,35 +101,62 @@
+<<<<<<< HEAD Minimize action +======= + __MSG_windows_min_options__ +>>>>>>> ec8398d... Update locale
- - + +
- - + +
- - + +
- Start - application minimized
+
+  __MSG_windows_start_min__ +
+
-

Icon

+

__MSG_icons__

- - -
- Default icon + __MSG_icons_default_options__
- Default - Thunderbird + + +
- - Lookthrough icon + + +
- Custom - icon + + + Browse...__MSG_icons_default_custom_choose__
- KDE - integration (Hide)
+
+  __MSG_icons_default_kde_integration__
+
- - - - - + + + - +
- Unread mail icon +  __MSG_icons_unread_options__
Blank icon
- New mail icon + + +
- Custom icon + + + +
+ + Browse...__MSG_icons_unread_custom_choose__
No icon + + +
@@ -221,7 +284,7 @@
- Number + __MSG_icons_number_options__
- Display - unread message count   +
+  __MSG_icons_number_display__ +
- +
- +
- - Unread - New + +  __MSG_icons_number_count_unread__ +  __MSG_icons_number_count_new__
@@ -270,7 +343,7 @@
-

Accounts

+

__MSG_accounts__

    @@ -282,11 +355,21 @@
    -

    Debug options

    +

    __MSG_debug__


    - Display debug - window
    +
    + + +
    +

    @@ -294,8 +377,8 @@
    - - + +