Skip to content

Commit

Permalink
refactor: cleanup preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Sep 11, 2022
1 parent ce85d39 commit dca98a1
Show file tree
Hide file tree
Showing 19 changed files with 968 additions and 577 deletions.
100 changes: 62 additions & 38 deletions resources/po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,70 +7,94 @@ msgstr ""
msgid "Type to search"
msgstr "اكتب نصًا للبحث عنه"

#: src/prefs/prefs.ts:73
#: src/prefs/dangerZone/clearHistory.ts:11
msgid "Clear History"
msgstr "امحُ السجل التاريخي"

#: src/prefs/dangerZone/clearHistory.ts:12
msgid "Clears the clipboard database and cache"
msgstr "يمحو قاعدة بيانات الحافظة وذاكرتها المؤقتة"

#: src/prefs/dangerZone/clearHistory.ts:17
msgid "Clear"
msgstr "امحُ"

#: src/prefs/dangerZone/clearHistory.ts:23
msgid "Are you sure you want to clear history?"
msgstr "أمتأكد من رغبتك بمحوِ السجل التاريخي؟"

#: src/prefs/dangerZone/index.ts:10
msgid "Danger Zone"
msgstr ""

#: src/prefs/general/dbLocation.ts:22
msgid "Database Location"
msgstr "موقع قاعدة البيانات"

#: src/prefs/general/dbLocation.ts:30
msgid "Choose pano database location"
msgstr "اختر موقع قاعدة بيانات پانو"

#: src/prefs/prefs.ts:92
#: src/prefs/general/dbLocation.ts:52
msgid "Failed to select directory"
msgstr "فشل اختيار المجلد"

#: src/prefs/prefs.ts:117
msgid "Database Location"
msgstr "موقع قاعدة البيانات"
#: src/prefs/general/exclusionGroup.ts:13
msgid "Manage Exclusions"
msgstr ""

#: src/prefs/general/exclusionGroup.ts:18
msgid "Excluded Apps"
msgstr ""

#: src/prefs/general/exclusionGroup.ts:42
msgid "Window class name"
msgstr ""

#: src/prefs/general/generalGroup.ts:14
msgid "General Options"
msgstr ""

#: src/prefs/prefs.ts:139
#: src/prefs/general/historyLength.ts:13
msgid "History Length"
msgstr "طول السجل التاريخي"

#: src/prefs/prefs.ts:140
#: src/prefs/general/historyLength.ts:14
msgid "You can limit your clipboard history length between 10 - 500"
msgstr "يمكنك حصر طول السجل التاريخي للحافظة بين 10 - 500"

#: src/prefs/prefs.ts:157
msgid "Global Shortcut"
msgstr "اختصار لوحة المفاتيح"

#: src/prefs/prefs.ts:158
msgid "Allows you to toggle visibility of the clipboard manager"
msgstr "يمكنّك من قلب مرئية مدير الحافظة"

#: src/prefs/prefs.ts:163
msgid "Select a shortcut"
msgstr "اختر اختصار لوحة المفاتيح"

#: src/prefs/prefs.ts:174
msgid "New shortcut"
msgstr "اختصار جديد"
#: src/prefs/general/index.ts:11
msgid "General"
msgstr ""

#: src/prefs/prefs.ts:212
#: src/prefs/general/pasteOnSelect.ts:13
msgid "Paste on Select"
msgstr ""

#: src/prefs/prefs.ts:213
#: src/prefs/general/pasteOnSelect.ts:14
msgid "Allow Pano to paste content on select"
msgstr ""

#: src/prefs/prefs.ts:229
#: src/prefs/general/playAudioOnCopy.ts:13
msgid "Play an Audio on Copy"
msgstr ""

#: src/prefs/prefs.ts:230
#: src/prefs/general/playAudioOnCopy.ts:14
msgid "Allow Pano to play an audio when copying new content"
msgstr ""

#: src/prefs/prefs.ts:246
msgid "Clear History"
msgstr "امحُ السجل التاريخي"
#: src/prefs/general/shortcutRow.ts:57
msgid "Global Shortcut"
msgstr "اختصار لوحة المفاتيح"

#: src/prefs/prefs.ts:247
msgid "Clears the clipboard database and cache"
msgstr "يمحو قاعدة بيانات الحافظة وذاكرتها المؤقتة"
#: src/prefs/general/shortcutRow.ts:58
msgid "Allows you to toggle visibility of the clipboard manager"
msgstr "يمكنّك من قلب مرئية مدير الحافظة"

#: src/prefs/prefs.ts:253
msgid "Clear"
msgstr "امحُ"
#: src/prefs/general/shortcutRow.ts:64
msgid "Select a shortcut"
msgstr "اختر اختصار لوحة المفاتيح"

#: src/prefs/prefs.ts:259
msgid "Are you sure you want to clear history?"
msgstr "أمتأكد من رغبتك بمحوِ السجل التاريخي؟"
#: src/prefs/general/shortcutRow.ts:75
msgid "New shortcut"
msgstr "اختصار جديد"
100 changes: 62 additions & 38 deletions resources/po/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,70 +7,94 @@ msgstr ""
msgid "Type to search"
msgstr "Type to search"

#: src/prefs/prefs.ts:73
#: src/prefs/dangerZone/clearHistory.ts:11
msgid "Clear History"
msgstr "Clear History"

#: src/prefs/dangerZone/clearHistory.ts:12
msgid "Clears the clipboard database and cache"
msgstr "Clears the clipboard database and cache"

#: src/prefs/dangerZone/clearHistory.ts:17
msgid "Clear"
msgstr "Clear"

#: src/prefs/dangerZone/clearHistory.ts:23
msgid "Are you sure you want to clear history?"
msgstr "Are you sure you want to clear history?"

#: src/prefs/dangerZone/index.ts:10
msgid "Danger Zone"
msgstr ""

#: src/prefs/general/dbLocation.ts:22
msgid "Database Location"
msgstr "Database Location"

#: src/prefs/general/dbLocation.ts:30
msgid "Choose pano database location"
msgstr "Choose pano database location"

#: src/prefs/prefs.ts:92
#: src/prefs/general/dbLocation.ts:52
msgid "Failed to select directory"
msgstr "Failed to select directory"

#: src/prefs/prefs.ts:117
msgid "Database Location"
msgstr "Database Location"
#: src/prefs/general/exclusionGroup.ts:13
msgid "Manage Exclusions"
msgstr ""

#: src/prefs/general/exclusionGroup.ts:18
msgid "Excluded Apps"
msgstr ""

#: src/prefs/general/exclusionGroup.ts:42
msgid "Window class name"
msgstr ""

#: src/prefs/general/generalGroup.ts:14
msgid "General Options"
msgstr ""

#: src/prefs/prefs.ts:139
#: src/prefs/general/historyLength.ts:13
msgid "History Length"
msgstr "History Length"

#: src/prefs/prefs.ts:140
#: src/prefs/general/historyLength.ts:14
msgid "You can limit your clipboard history length between 10 - 500"
msgstr "You can limit your clipboard history length between 10 - 500"

#: src/prefs/prefs.ts:157
msgid "Global Shortcut"
msgstr "Global Shortcut"

#: src/prefs/prefs.ts:158
msgid "Allows you to toggle visibility of the clipboard manager"
msgstr "Allows you to toggle visibility of the clipboard manager"

#: src/prefs/prefs.ts:163
msgid "Select a shortcut"
msgstr "Select a shortcut"

#: src/prefs/prefs.ts:174
msgid "New shortcut"
msgstr "New shortcut"
#: src/prefs/general/index.ts:11
msgid "General"
msgstr ""

#: src/prefs/prefs.ts:212
#: src/prefs/general/pasteOnSelect.ts:13
msgid "Paste on Select"
msgstr "Paste on Select"

#: src/prefs/prefs.ts:213
#: src/prefs/general/pasteOnSelect.ts:14
msgid "Allow Pano to paste content on select"
msgstr "Allow Pano to paste content on select"

#: src/prefs/prefs.ts:229
#: src/prefs/general/playAudioOnCopy.ts:13
msgid "Play an Audio on Copy"
msgstr "Play an Audio on Copy"

#: src/prefs/prefs.ts:230
#: src/prefs/general/playAudioOnCopy.ts:14
msgid "Allow Pano to play an audio when copying new content"
msgstr "Allow Pano to play an audio when copying new content"

#: src/prefs/prefs.ts:246
msgid "Clear History"
msgstr "Clear History"
#: src/prefs/general/shortcutRow.ts:57
msgid "Global Shortcut"
msgstr "Global Shortcut"

#: src/prefs/prefs.ts:247
msgid "Clears the clipboard database and cache"
msgstr "Clears the clipboard database and cache"
#: src/prefs/general/shortcutRow.ts:58
msgid "Allows you to toggle visibility of the clipboard manager"
msgstr "Allows you to toggle visibility of the clipboard manager"

#: src/prefs/prefs.ts:253
msgid "Clear"
msgstr "Clear"
#: src/prefs/general/shortcutRow.ts:64
msgid "Select a shortcut"
msgstr "Select a shortcut"

#: src/prefs/prefs.ts:259
msgid "Are you sure you want to clear history?"
msgstr "Are you sure you want to clear history?"
#: src/prefs/general/shortcutRow.ts:75
msgid "New shortcut"
msgstr "New shortcut"
Loading

0 comments on commit dca98a1

Please sign in to comment.