russian translation skeleton

This commit is contained in:
Dmitriy Yefremov
2018-02-27 14:55:03 +03:00
parent 1164d38e5c
commit 6e4b992a79
10 changed files with 299 additions and 44 deletions

View File

@@ -72,6 +72,7 @@ def show_dialog(dialog_type: DialogType, transient, text=None, options=None, act
def get_dialog_from_xml(dialog_type, transient):
builder = Gtk.Builder()
builder.set_translation_domain("demon-editor")
builder.add_from_file(UI_RESOURCES_PATH + "dialogs.glade")
dialog = builder.get_object(dialog_type.value)
dialog.set_transient_for(transient)