-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-launcher@mchilli: Refactor code (#6387)
* Refactor widget and dialog code * Add CSS for colored buttons * Add cancel button to revert changes * Remove XAppIconChooserButton * Update screenshot * Update translation files * Closes #5519 * Ref: linuxmint/cinnamon#12270
- Loading branch information
Showing
23 changed files
with
2,617 additions
and
1,514 deletions.
There are no files selected for viewing
590 changes: 0 additions & 590 deletions
590
app-launcher@mchilli/files/app-launcher@mchilli/dialogs.glade
This file was deleted.
Oops, something went wrong.
306 changes: 181 additions & 125 deletions
306
app-launcher@mchilli/files/app-launcher@mchilli/dialogs.py
100755 → 100644
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,121 +1,145 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# APP LAUNCHER | ||
# This file is put in the public domain. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# mchilli, 2021 | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: app-launcher@mchilli 1.0\n" | ||
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/issues\n" | ||
"POT-Creation-Date: 2024-02-05 14:46-0500\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/" | ||
"issues\n" | ||
"POT-Creation-Date: 2024-09-08 12:42-0400\n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: applet.js:108 | ||
#. applet.js:108 | ||
msgid "Edit Applications" | ||
msgstr "" | ||
|
||
#: applet.js:737 applet.js:1031 | ||
#. applet.js:737 applet.js:1031 | ||
msgid "Delete" | ||
msgstr "" | ||
|
||
#: applet.js:738 applet.js:1032 | ||
#. applet.js:738 applet.js:1032 | ||
msgid "Edit" | ||
msgstr "" | ||
|
||
#: applet.js:739 applet.js:1033 | ||
#. applet.js:739 applet.js:1033 dialogs.py:43 dialogs.py:293 widgets.py:73 | ||
#. ui/group.glade:26 ui/app.glade:26 ui/import.glade:24 | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#. dialogs.py:41 dialogs.py:292 ui/group.glade:39 ui/app.glade:39 | ||
#. ui/import.glade:37 | ||
msgid "OK" | ||
msgstr "" | ||
|
||
#. settings-schema.json->list-applications->columns->title | ||
#. settings-schema.json->list-groups->columns->title | ||
#: dialogs.py:45 widgets.py:36 dialogs.glade:93 dialogs.glade:326 | ||
#. dialogs.py:44 widgets.py:47 ui/group.glade:97 ui/app.glade:99 | ||
#. ui/widget.glade:40 | ||
msgid "Name" | ||
msgstr "" | ||
|
||
#. settings-schema.json->list-applications->columns->title | ||
#: dialogs.py:51 dialogs.glade:104 | ||
#. dialogs.py:50 ui/app.glade:110 | ||
msgid "Group" | ||
msgstr "" | ||
|
||
#. settings-schema.json->list-applications->columns->title | ||
#: dialogs.py:52 widgets.py:43 dialogs.glade:115 | ||
#. dialogs.py:51 widgets.py:48 ui/app.glade:121 ui/widget.glade:51 | ||
msgid "Command" | ||
msgstr "" | ||
|
||
#: dialogs.py:203 | ||
#. dialogs.py:236 | ||
msgid "The name cannot be empty" | ||
msgstr "" | ||
|
||
#: dialogs.py:208 | ||
#. dialogs.py:241 | ||
msgid "The name is already used" | ||
msgstr "" | ||
|
||
#: dialogs.py:215 | ||
#. dialogs.py:248 | ||
msgid "Valid name" | ||
msgstr "" | ||
|
||
#: dialogs.py:221 | ||
#. dialogs.py:254 | ||
msgid "Valid command" | ||
msgstr "" | ||
|
||
#: dialogs.py:224 | ||
#. dialogs.py:257 | ||
msgid "The command is not valid" | ||
msgstr "" | ||
|
||
#: dialogs.py:236 | ||
#. dialogs.py:291 | ||
msgid "Which data should be replaced from *.desktop file?" | ||
msgstr "" | ||
|
||
#: dialogs.py:281 dialogs.glade:561 | ||
#. dialogs.py:335 ui/confirm.glade:100 | ||
msgid "really delete?" | ||
msgstr "" | ||
|
||
#. dialogs.py:336 ui/confirm.glade:25 | ||
msgid "No" | ||
msgstr "" | ||
|
||
#. dialogs.py:337 ui/confirm.glade:38 | ||
msgid "Yes" | ||
msgstr "" | ||
|
||
#. settings-schema.json->list-applications->columns->title | ||
#. settings-schema.json->list-groups->columns->title | ||
#. settings-schema.json->launcher-icon->description | ||
#: widgets.py:29 | ||
#. widgets.py:46 ui/widget.glade:29 | ||
msgid "Icon" | ||
msgstr "" | ||
|
||
#: widgets.py:125 | ||
#. widgets.py:51 | ||
msgid "Add application" | ||
msgstr "" | ||
|
||
#: widgets.py:126 | ||
#. widgets.py:52 | ||
msgid "Add new entry" | ||
msgstr "" | ||
|
||
#: widgets.py:130 | ||
#. widgets.py:55 | ||
msgid "Add separator" | ||
msgstr "" | ||
|
||
#: widgets.py:138 | ||
msgid "Remove selected entry" | ||
msgstr "" | ||
|
||
#: widgets.py:144 | ||
#. widgets.py:58 | ||
msgid "Edit selected entry" | ||
msgstr "" | ||
|
||
#: widgets.py:150 | ||
#. widgets.py:61 | ||
msgid "Duplicate selected entry" | ||
msgstr "" | ||
|
||
#: widgets.py:156 | ||
#. widgets.py:64 | ||
msgid "Move selected entry up" | ||
msgstr "" | ||
|
||
#: widgets.py:162 | ||
#. widgets.py:67 | ||
msgid "Move selected entry down" | ||
msgstr "" | ||
|
||
#: widgets.py:323 | ||
#. widgets.py:70 | ||
msgid "Remove selected entry" | ||
msgstr "" | ||
|
||
#. widgets.py:76 | ||
msgid "Save?" | ||
msgstr "" | ||
|
||
#. widgets.py:77 | ||
msgid "Save the current configuration" | ||
msgstr "" | ||
|
||
#. widgets.py:264 | ||
msgid "Separator" | ||
msgstr "" | ||
|
||
|
@@ -211,3 +235,35 @@ msgstr "" | |
#. settings-schema.json->app-icon-size->tooltip | ||
msgid "Set Icon size" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:79 | ||
msgid "add" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:106 | ||
msgid "edit" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:120 | ||
msgid "duplicate" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:144 | ||
msgid "up" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:158 | ||
msgid "down" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:182 | ||
msgid "remove" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:206 | ||
msgid "cancel" | ||
msgstr "" | ||
|
||
#. ui/widget.glade:221 | ||
msgid "save" | ||
msgstr "" |
Oops, something went wrong.