diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 378eac2..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-build
diff --git a/AUTHORS b/AUTHORS
index c498345..f6f28be 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -2,7 +2,7 @@ Upstream Authors:
LXQt team: http://lxqt.org
Copyright:
- Copyright (c) 2015 LXQt team
+ Copyright (c) 2015-2016 LXQt team
License: LGPL-2.1+
The full text of the licenses can be found in the 'LICENSE' file.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e2d7b2..06b5ac5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-sudo)
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
+option(PULL_TRANSLATIONS "Pull translations" ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
@@ -47,6 +48,10 @@ lxqt_translate_ts(QM_FILES
${UIS}
INSTALL_DIR
"${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
+ PULL_TRANSLATIONS ${PULL_TRANSLATIONS}
+ CLEAN_TRANSLATIONS ${CLEAN_TRANSLATIONS}
+ TRANSLATIONS_REPO ${TRANSLATIONS_REPO}
+ TRANSLATIONS_REFSPEC ${TRANSLATIONS_REFSPEC}
)
lxqt_app_translation_loader(SRCS ${PROJECT_NAME})
diff --git a/translations/lxqt-sudo.ts b/translations/lxqt-sudo.ts
deleted file mode 100644
index 820df8b..0000000
--- a/translations/lxqt-sudo.ts
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
- PasswordDialog
-
-
- LXQt sudo
-
-
-
-
- Command:
-
-
-
-
- Password:
-
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
-
-
-
-
- Attempt #%1
-
-
-
-
- QObject
-
-
- Usage: %1 option [command [arguments...]]
-
-GUI frontend for %2/%3
-
-Arguments:
- option:
- -h|--help Print this help.
- -v|--version Print version information.
- -s|--su Use %3(1) as backend.
- -d|--sudo Use %2(8) as backend.
- command Command to run.
- arguments Optional arguments for command.
-
-
-
-
-
-
- %1 version %2
-
-
-
-
-
- Sudo
-
-
- %1: no command to run provided!
-
-
-
-
- %1: no backend chosen!
-
-
-
-
- %1: warning - got multiple arguments for %2 backend, squashing into one: %3
-
-
-
-
- Failed to fork: %1
-
-
-
-
- %1: Failed to exec '%2': %3
-
-
-
-
-
- Failed to set non-block: %1
-
-
-
-
- Failed to fdopen: %1
-
-
-
-
- Child '%1' process failed!
-%2
-
-
-
-
diff --git a/translations/lxqt-sudo_de.ts b/translations/lxqt-sudo_de.ts
deleted file mode 100644
index 6a7ebb9..0000000
--- a/translations/lxqt-sudo_de.ts
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
- PasswordDialog
-
-
- LXQt sudo
- LXQt sudo
-
-
-
- Command:
- Befehl:
-
-
-
- Password:
- Kennwort:
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
- <b>%1</b> benötigt root-Rechte.
-Bitte Kennwort eingeben.
-
-
-
- Attempt #%1
- Versuch #%1
-
-
-
- QObject
-
-
- Usage: %1 option [command [arguments...]]
-
-GUI frontend for %2/%3
-
-Arguments:
- option:
- -h|--help Print this help.
- -v|--version Print version information.
- -s|--su Use %3(1) as backend.
- -d|--sudo Use %2(8) as backend.
- command Command to run.
- arguments Optional arguments for command.
-
-
- Verwendung: %1 Option [Befehl [Argumente...]]
-
-Graphische Benutzeroberfläche für %2/%3
-
-Argumente:
- Option:
- -h|--help Gibt diese Hilfe aus.
- -v|--version Ausgabe der Versionsinformation.
- -s|--su Verwendet %3(1) als Backend.
- -d|--sudo Verwendet %2(8) als Backend.
- Befehl Auszuführender Befehl.
- Argumente Argumente zum auszuführenden Befehl.
-
-
-
-
-
- %1 version %2
-
- %1 Version %2
-
-
-
-
- Sudo
-
-
- %1: no command to run provided!
- %1: kein auszuführender Befehl angegeben!
-
-
-
- %1: no backend chosen!
- %1: kein Backend gewählt!
-
-
-
- %1: warning - got multiple arguments for %2 backend, squashing into one: %3
- %1: Warnung - mehrere Argumente für Backend %2 erhalten. %3 wird verwendet
-
-
-
- Failed to fork: %1
- Abspalten des Prozesses fehlgeschlagen: %1
-
-
-
- %1: Failed to exec '%2': %3
-
- %1: Ausführen von '%2' fehlgeschlagen:
-%3
-
-
-
- Failed to set non-block: %1
- Das Setzen von der Option O_NONBLOCK schlug fehl: %1
-
-
-
- Failed to fdopen: %1
- Das Öffnen schlug fehl: %1
-
-
-
- Child '%1' process failed!
-%2
- Nachgeordneter Prozess '%1' ist fehlgeschlagen!
-%2
-
-
-
diff --git a/translations/lxqt-sudo_el.ts b/translations/lxqt-sudo_el.ts
deleted file mode 100644
index 4f0eedd..0000000
--- a/translations/lxqt-sudo_el.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
- PasswordDialog
-
-
-
- LXQt sudo
- LXQt sudo
-
-
-
-
- Command:
- Εντολή:
-
-
-
-
- Password:
- Κωδικός πρόσβασης:
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
- Το <b>%1</b> απαιτεί προνόμια διαχειριστή.
-Παρακαλώ εισαγάγετε τον κωδικό πρόσβασης.
-
-
-
- Attempt #%1
- Προσπάθεια #%1
-
-
-
- QObject
-
-
- Usage: %1 command [arguments...]
-
-GUI frontend for %2
-
-Arguments:
- command Command to run.
- arguments Optional arguments for command.
-
-
- Χρήση: %1 εντολή [ορίσματα...]
-
-Περιβάλλον συστήματος υποστήριξης του %2
-
-Ορίσματα:
- εντολή Η εντολή προς εκτέλεση.
- ορίσματα Προαιρετικά ορίσματα για την εντολή.
-
-
-
-
-
- %1 version %2
-
- %1 έκδοση %2
-
-
-
-
- %1: no command to run provided!
- %1: δεν παρείχατε κάποια εντολή προς εκτέλεση!
-
-
-
- Child '%1' process failed!
-%2
- Η θυγατρική διεργασία «%1» απέτυχε!
-%2
-
-
-
diff --git a/translations/lxqt-sudo_it.ts b/translations/lxqt-sudo_it.ts
deleted file mode 100644
index c02541e..0000000
--- a/translations/lxqt-sudo_it.ts
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
- Communication
-
-
- %1: Communication - unable to create shared memory(%2B),
- %1: Comunicazione - non è stato possibile creare memoria condivisa(%2B),
-
-
-
- %1: Communication - password is too long(%2) for aquired shared memory(%3), has to be cut-off...
-
- %1: Comunicazione - password troppo lunga(%2) per acquisire memoria condivisa(%3) deve essere accorciata...
-
-
-
-
- PasswordDialog
-
-
-
- LXQt sudo
-
-
-
-
-
- Command:
- Comando:
-
-
-
-
- Password:
-
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
- <b>%1</b> richiede privilegi di amministratore.
-Per favore inserire la password.
-
-
-
- Attempt #%1
- Tentativo #%1
-
-
-
- QObject
-
-
- Usage: %1 command [arguments...]
-
-GUI frontend for %2
-
-Arguments:
- command Command to run.
- arguments Optional arguments for command.
-
-
- Uso: %1 comando [argomenti...]
-
-Frontend grafico per %2
-
-Argomenti:
- comando Comando da eseguire.
- argomenti Argomenti opzionali per il comando.
-
-
-
-
- %1 version %2
-
- %1 versione %2
-
-
-
-
- %1: no command to run provided!
- %1: non è stato immesso nessun comando da eseguire!
-
-
-
- Child '%1' process failed!
-%2
- Sottoprocesso %1 fallito!
-%2
-
-
-
diff --git a/translations/lxqt-sudo_pl.ts b/translations/lxqt-sudo_pl.ts
deleted file mode 100644
index 2606bfe..0000000
--- a/translations/lxqt-sudo_pl.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
- PasswordDialog
-
-
-
- LXQt sudo
- LXQt sudo
-
-
-
-
- Command:
- Komenda:
-
-
-
-
- Password:
- Hasło:
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
- <b>%1</b> potrzebuje uprawnień administratora.
-Proszę wprowadź hasło.
-
-
-
- Attempt #%1
- Próba #%1
-
-
-
- QObject
-
-
- Usage: %1 command [arguments...]
-
-GUI frontend for %2
-
-Arguments:
- command Command to run.
- arguments Optional arguments for command.
-
-
- Sposób użycia: %1 komenda [argumenty...]
-
-Graficzna nakładka na %2
-
-Argumenty:
- komenda Komenda do wykonania.
- argumenty Opcjonalne argumenty dla komendy.
-
-
-
-
-
- %1 version %2
-
- %1 wersja %2
-
-
-
-
- %1: no command to run provided!
- %1: nie podano komendy do wykonania!
-
-
-
- Child '%1' process failed!
-%2
- Wykonanie procesu '%1' nie powiodło się!
-%2
-
-
-
diff --git a/translations/lxqt-sudo_sk.ts b/translations/lxqt-sudo_sk.ts
deleted file mode 100644
index 3e1cb20..0000000
--- a/translations/lxqt-sudo_sk.ts
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
- PasswordDialog
-
-
- LXQt sudo
- LXQt sudo
-
-
-
- Command:
- Príkaz:
-
-
-
- Password:
- Heslo:
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
- <b>%1</b> vyžaduje práva administrátora.
-Prosím, zadajte svoje heslo.
-
-
-
- Attempt #%1
- Pokus č. %1
-
-
-
- QObject
-
-
- Usage: %1 option [command [arguments...]]
-
-GUI frontend for %2/%3
-
-Arguments:
- option:
- -h|--help Print this help.
- -v|--version Print version information.
- -s|--su Use %3(1) as backend.
- -d|--sudo Use %2(8) as backend.
- command Command to run.
- arguments Optional arguments for command.
-
-
- Použitie: %1 option [command [arguments...]]
-
-GUI frontend pre %2/%3
-
-Parametre:
- option:
- -h|--help Zobraziť pomoc.
- -v|--version Zobraziť verziu.
- -s|--su Použiť %3(1) ako backend.
- -d|--sudo Použíť %2(8) ako backend.
- command Príkaz na spustenie.
- arguments Parametre príkazu.
-
-
-
-
-
- %1 version %2
-
- %1 verzia %2
-
-
-
-
- Sudo
-
-
- %1: no command to run provided!
- %1: žiaden príkaz na spustenie!
-
-
-
- %1: no backend chosen!
- %1: nevybratý backend!
-
-
-
- %1: warning - got multiple arguments for %2 backend, squashing into one: %3
- %1: upozornenie - zadaných viacero parametrov pre %2 backend, zlúčené do jedného: %3
-
-
-
- Failed to fork: %1
- Zlyhal fork: %1
-
-
-
- %1: Failed to exec '%2': %3
-
- %1: Zlyhal exec '%2': %3
-
-
-
- Failed to set non-block: %1
- Zlyhalo nastavenie non-block: %1
-
-
-
- Failed to fdopen: %1
- Zlyhal fdopen: %1
-
-
-
- Child '%1' process failed!
-%2
- Dcérsky '%1' process zlyhal!
-%2
-
-
-
diff --git a/translations/lxqt-sudo_zh_TW.ts b/translations/lxqt-sudo_zh_TW.ts
deleted file mode 100644
index 4a71a88..0000000
--- a/translations/lxqt-sudo_zh_TW.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
- PasswordDialog
-
-
-
- LXQt sudo
- LXQt sudo
-
-
-
-
- Command:
- 指令:
-
-
-
-
- Password:
- 密碼:
-
-
-
- <b>%1</b> needs administrative privileges.
-Please enter your password.
- <b>%1</b> 需要管理員權限
-請輸入您的密碼
-
-
-
- Attempt #%1
- 嘗試 %1
-
-
-
- QObject
-
-
- Usage: %1 command [arguments...]
-
-GUI frontend for %2
-
-Arguments:
- command Command to run.
- arguments Optional arguments for command.
-
-
-用法:%1 指令 [選項...]
-
-%2 的圖型前端
-
-選項:
- 指令 要執行的指令
- 選項 給指令的選項
-
-
-
-
-
- %1 version %2
-
- %1 版本 %s
-
-
-
- %1: no command to run provided!
- %1:沒有可執行的指令
-
-
-
- Child '%1' process failed!
-%2
- 子執行序'%1'執行失敗!
-%2
-
-
-