mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-03-06 12:31:57 +01:00
translation for services popup menu
This commit is contained in:
@@ -1797,7 +1797,7 @@ dmitry.v.yefremov@gmail.com
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label21">
|
||||
<object class="GtkLabel" id="wait_dialog_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Loading data...</property>
|
||||
|
||||
@@ -21,10 +21,12 @@ class DialogType(Enum):
|
||||
|
||||
|
||||
class WaitDialog:
|
||||
def __init__(self, transient):
|
||||
def __init__(self, transient, text=None):
|
||||
builder, dialog = get_dialog_from_xml(DialogType.WAIT, transient)
|
||||
self._dialog = dialog
|
||||
self._dialog.set_transient_for(transient)
|
||||
if text is not None:
|
||||
builder.get_object("wait_dialog_label").set_text(text)
|
||||
|
||||
def show(self):
|
||||
self._dialog.show()
|
||||
@@ -33,6 +35,10 @@ class WaitDialog:
|
||||
def hide(self):
|
||||
self._dialog.hide()
|
||||
|
||||
@run_idle
|
||||
def destroy(self):
|
||||
self._dialog.destroy()
|
||||
|
||||
|
||||
def show_dialog(dialog_type: DialogType, transient, text=None, options=None, action_type=None, file_filter=None):
|
||||
""" Shows dialogs by name """
|
||||
|
||||
Binary file not shown.
@@ -194,7 +194,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="services_create_bouquet_popup_item">
|
||||
<property name="label">Create bouquet</property>
|
||||
<property name="label" translatable="yes">Create bouquet</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can_focus">False</property>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -85,9 +85,6 @@ msgstr "Пропустить"
|
||||
msgid "Hide/Skip On/Off Ctrl + H"
|
||||
msgstr "Скрыть/Пропустить Вкл/Выкл Ctrl + H"
|
||||
|
||||
msgid "IPTV"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add IPTV or stream service"
|
||||
msgstr "Добавить IPTV или поток"
|
||||
|
||||
@@ -115,15 +112,33 @@ msgstr "Новый"
|
||||
msgid "New bouquet"
|
||||
msgstr "Новый букет"
|
||||
|
||||
msgid "Create bouquet"
|
||||
msgstr "Создать букет"
|
||||
|
||||
msgid "For current satellite"
|
||||
msgstr "Для текущего спутника"
|
||||
|
||||
msgid "For current package"
|
||||
msgstr "Для текущего пакета"
|
||||
|
||||
msgid "For current type"
|
||||
msgstr "Для текущего типа"
|
||||
|
||||
msgid "For each satellite"
|
||||
msgstr "Для каждого спутника"
|
||||
|
||||
msgid "For each package"
|
||||
msgstr "Для каждого пакета"
|
||||
|
||||
msgid "For each type"
|
||||
msgstr "Для каждого типа"
|
||||
|
||||
msgid "Open"
|
||||
msgstr "Открыть"
|
||||
|
||||
msgid "Parent lock On/Off Ctrl + L"
|
||||
msgstr "Родительский замок Вкл/Выкл Ctrl + L"
|
||||
|
||||
msgid "Paste"
|
||||
msgstr ""
|
||||
|
||||
msgid "Picons"
|
||||
msgstr "Пиконы"
|
||||
|
||||
@@ -160,9 +175,6 @@ msgstr "Фильтр сервисов"
|
||||
msgid "Settings"
|
||||
msgstr "Настройки"
|
||||
|
||||
msgid "TV"
|
||||
msgstr ""
|
||||
|
||||
msgid "Up"
|
||||
msgstr "Переместить вверх"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user