Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm-play-gui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roman Alifanov
eepm-play-gui
Commits
112e365d
Commit
112e365d
authored
Oct 07, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added filter: changed
parent
bf943160
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
8 deletions
+17
-8
ru.po
po/ru.po
+11
-7
window.cmb
src/window.cmb
+2
-1
window.py
src/window.py
+3
-0
window.ui
src/window.ui
+1
-0
No files found.
po/ru.po
View file @
112e365d
msgid ""
msgstr ""
"Project-Id-Version: ru.eepm.PlayGUI\n"
"POT-Creation-Date: 2024-10-0
3 01:5
2+0300\n"
"PO-Revision-Date: 2024-10-0
3 01:52
+0300\n"
"POT-Creation-Date: 2024-10-0
7 19:1
2+0300\n"
"PO-Revision-Date: 2024-10-0
7 19:17
+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
...
...
@@ -28,19 +28,19 @@ msgctxt "shortcut window"
msgid "Quit"
msgstr "Выйти"
#: window.py:16
0
#: window.py:16
7
msgid "Remove and install applications"
msgstr "Удалить и установить программы"
#: window.py:16
3
#: window.py:16
8
msgid "Install applications"
msgstr "Установить программы"
#: window.py:16
6
#: window.py:16
9
msgid "Remove applications"
msgstr "Удалить программы"
#: window.py:1
69 window.ui:99
#: window.py:1
70 window.ui:100
msgid "Update applications"
msgstr "Обновить программы"
...
...
@@ -60,7 +60,11 @@ msgstr "Установленные"
msgid "Uninstalled"
msgstr "Неустановленные"
#: window.ui:121
#: window.ui:51
msgid "Changed"
msgstr "Изменённые"
#: window.ui:122
msgid "_About Eepm-play-gui"
msgstr "О программе"
...
...
src/window.cmb
View file @
112e365d
...
...
@@ -78,7 +78,8 @@
(1,15,"GtkWidget",1,1,None,None,None,None,None,None),
(1,15,"GtkWidget",2,2,None,1,None,None,None,None),
(1,22,"GtkWidget",1,1,None,None,None,None,None,None),
(1,22,"GtkWidget",2,2,None,1,None,None,None,None)
(1,22,"GtkWidget",2,2,None,1,None,None,None,None),
(1,10,"GtkStringList",2,5,"Changed",1,None,1,None,None)
</object_data>
<object_data_arg>
(1,7,"GtkWidget",2,2,"name","linked"),
...
...
src/window.py
View file @
112e365d
...
...
@@ -201,11 +201,14 @@ class EepmPlayGuiWindow(Adw.ApplicationWindow):
# Проверка по фильтру: установлено/не установлено в системе
app_name
=
row
.
get_title
()
if
row
.
get_title
()
else
''
is_installed
=
app_name
in
self
.
installed_apps
is_changed
=
row
.
is_changed
()
if
filter_option
==
1
:
# Installed
return
matches_search
and
is_installed
elif
filter_option
==
2
:
# Uninstalled
return
matches_search
and
not
is_installed
elif
filter_option
==
3
:
# Changed
return
matches_search
and
is_changed
else
:
return
matches_search
# All
...
...
src/window.ui
View file @
112e365d
...
...
@@ -48,6 +48,7 @@
<item
translatable=
"yes"
>
All
</item>
<item
translatable=
"yes"
>
Installed
</item>
<item
translatable=
"yes"
>
Uninstalled
</item>
<item
translatable=
"yes"
>
Changed
</item>
</items>
</object>
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment