From 69e887f3d8602438389161449bdff4539c67c72e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 3 May 2020 01:39:16 +0530 Subject: Better handle non-git repositories (#756) --- app/src/main/res/menu/main_menu.xml | 30 ----------------------------- app/src/main/res/menu/main_menu_git.xml | 27 ++++++++++++++++++++++++++ app/src/main/res/menu/main_menu_non_git.xml | 20 +++++++++++++++++++ app/src/main/res/values-ar/strings.xml | 1 - app/src/main/res/values-cs/strings.xml | 1 - app/src/main/res/values-de/strings.xml | 1 - app/src/main/res/values-es/strings.xml | 1 - app/src/main/res/values-fr/strings.xml | 1 - app/src/main/res/values-ja/strings.xml | 1 - app/src/main/res/values-ru/strings.xml | 1 - app/src/main/res/values-zh-rCN/strings.xml | 1 - app/src/main/res/values-zh-rTW/strings.xml | 1 - app/src/main/res/values/strings.xml | 2 +- app/src/main/res/xml/preference.xml | 2 +- 14 files changed, 49 insertions(+), 41 deletions(-) delete mode 100644 app/src/main/res/menu/main_menu.xml create mode 100644 app/src/main/res/menu/main_menu_git.xml create mode 100644 app/src/main/res/menu/main_menu_non_git.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/menu/main_menu.xml b/app/src/main/res/menu/main_menu.xml deleted file mode 100644 index 2e126d33..00000000 --- a/app/src/main/res/menu/main_menu.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/app/src/main/res/menu/main_menu_git.xml b/app/src/main/res/menu/main_menu_git.xml new file mode 100644 index 00000000..40c99550 --- /dev/null +++ b/app/src/main/res/menu/main_menu_git.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/menu/main_menu_non_git.xml b/app/src/main/res/menu/main_menu_non_git.xml new file mode 100644 index 00000000..dc7d20cc --- /dev/null +++ b/app/src/main/res/menu/main_menu_non_git.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 8f335c14..133f96a5 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -63,7 +63,6 @@ شارك كنص مجرد آخِر تعديل %s - جيت تعديل إعدادات خادوم جيت إستيراد مفتاح الـ SSH توليد مفتاحَي الـ SSH diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 6b8c6f44..d29e8f82 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -102,7 +102,6 @@ Sdílet v nešifrované podobě Naposled změněno %s - Git Upravit nastavení git serveru Importovat SSH klíč Generovat SSH klíč diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index c94b363c..372b3154 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -76,7 +76,6 @@ Als Klartext teilen Zuletzt geändert %s - Git Git-Server Einstellungen Git Konfiguration bearbeiten Importiere SSH-Key diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 2904e767..1916cc83 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -101,7 +101,6 @@ Recordar elección - Git Editar ajustes del servidor Git Preferencias de Git Importar llave SSH diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index e8a70667..3dad40e9 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -109,7 +109,6 @@ Se souvenir de mon choix - Git Editer les paramètres du serveur Git Éditer la configuration Importer une clef SSH diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 4337c6d0..c8fb396b 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -63,7 +63,6 @@ 検索 - Git git サーバー設定を編集 SSH 鍵のインポート SSH 鍵ペアを生成 diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 3859ac6b..1f578631 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -114,7 +114,6 @@ Запомнить мой выбор - Git Изменить настройки сервера git Утилиты Git Импортировать SSH ключ diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 1ab16b96..6b87a10c 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -63,7 +63,6 @@ 搜索 - Git 修改 Git 服务器设置 导入 SSH 密钥 生成 SSH 密钥对 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index b0f5231a..db52f31b 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -60,7 +60,6 @@ 搜尋 - Git 修改 Git 伺服器設定 匯入 SSH 私鑰 生成 SSH 金鑰 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 79fda215..5d77ad6a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -131,7 +131,7 @@ Remember my choice - Git + Repository Edit git server settings Git utils Import SSH key diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 656e47f6..dcb33e3e 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -32,7 +32,7 @@ app:title="@string/pref_autofill_full_path_title"/> - + -- cgit v1.2.3