From 4f9172109d238acc211f2f3fb3dce44f4a7ed478 Mon Sep 17 00:00:00 2001 From: Maksim Lin Date: Sun, 24 Feb 2019 18:06:41 +1100 Subject: [PATCH 1/4] add release files to gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 728814ba..25eb4fcf 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,8 @@ build # generated files bin/ gen/ +release +/*/release # Local configuration file (sdk path, etc) local.properties From f6de81840d7303249bc84e3db56b852199fa6268 Mon Sep 17 00:00:00 2001 From: Maksim Lin Date: Sun, 24 Feb 2019 18:07:12 +1100 Subject: [PATCH 2/4] fix errors in RU strings --- app/src/main/res/values-ru/strings.xml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index f4cac6b7..f1ce5fa7 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -1,10 +1,8 @@ - MGit Стоковый текст Скачать репозиторий - com.manichord.mgit Поиск @@ -145,7 +143,6 @@ Иследовать файлыы Настройки Настройки репозитория - https://github.com/maks/MGit/issues/new Отзыв @@ -156,27 +153,21 @@ Корневая папка для проектов Основные - repo_root_path Выбрать как корневую папку Создать новую папку Настройки профиля - user.name Имя пользователч - user.email Email О приложении Отзыв Отправте отзыв, создав issue на GitHub - app_version Версия Управления SSH ключами SSH Kлючи Использовать аватарки из gravatar Загрузка аватарок с gravatar.com - use.gravatar Безопасность Тема - color_theme_id Профиль Git Открыть в другом приложении Добавить приватный ключ @@ -189,16 +180,6 @@ Импорт … Клонированно с помощью MGit Неверный URL! - https - http Инализация … - git - .git - .*\\.git - ssh - github.com - gitlab.com - bitbucket.com - notabug.org Репозиторий уже добавлен! From 4c2abe871660846d789fe67b388c8a120e6d65f8 Mon Sep 17 00:00:00 2001 From: Maksim Lin Date: Sun, 24 Feb 2019 18:25:36 +1100 Subject: [PATCH 3/4] fix missing translations preventing release build --- app/src/main/res/values-de/strings.xml | 8 +++ app/src/main/res/values-de/strings_dialog.xml | 13 +++- app/src/main/res/values-fr/strings.xml | 26 +++++++- app/src/main/res/values-fr/strings_dialog.xml | 3 +- app/src/main/res/values-iw/strings.xml | 12 ++++ app/src/main/res/values-iw/strings_dialog.xml | 64 +++++++++++-------- app/src/main/res/values-ja/strings.xml | 12 ++++ app/src/main/res/values-ja/strings_dialog.xml | 15 ++++- app/src/main/res/values-ko/arrays.xml | 55 ++++++++++++++++ app/src/main/res/values-ko/strings.xml | 11 ++++ app/src/main/res/values-ko/strings_dialog.xml | 15 ++++- app/src/main/res/values-ko/strings_error.xml | 50 +++++++++++++++ .../res/values-ko/strings_success_msg.xml | 17 +++++ app/src/main/res/values-ru/strings_error.xml | 2 +- app/src/main/res/values-zh-rCN/strings.xml | 4 -- .../main/res/values-zh-rCN/strings_error.xml | 2 +- app/src/main/res/values/strings_error.xml | 2 +- 17 files changed, 272 insertions(+), 39 deletions(-) create mode 100644 app/src/main/res/values-ko/arrays.xml create mode 100644 app/src/main/res/values-ko/strings_error.xml create mode 100644 app/src/main/res/values-ko/strings_success_msg.xml diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 200e1d7c..6350a6cf 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -177,4 +177,12 @@ Mit MGit klonen Ungültige URL! Repository existiert bereits! + Edit key password + Send report + Init + Cloning … + Importing … + Initialising … + Key Password + Could not abort rebase while resetting repo diff --git a/app/src/main/res/values-de/strings_dialog.xml b/app/src/main/res/values-de/strings_dialog.xml index 34437109..d8891e63 100644 --- a/app/src/main/res/values-de/strings_dialog.xml +++ b/app/src/main/res/values-de/strings_dialog.xml @@ -41,9 +41,20 @@ Veröffentlichung erzwingen? Ergebnis der Veröffentlichung + Invalid remote report + Not Supported + This feature is not supported on your device, please see the manual for more details. + Error occurred + Shortcut Keys + C - Commits\n F- Files\n S- Status\n ? - Help\n + Open remote url + Choose app to open %s remote + No Apps available to open the url + MGit requires that you grant it write access to be able to write local git repos to your storage, until you do this MGit will NOT work properly. + Externes Repository erzeugen Wirklich ein externes Repository in diesem Ordner erzeugen? Erzeugen - \ No newline at end of file + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 6228f6e0..a3f97310 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -79,6 +79,18 @@ Échec d\'authentification Sauvegarder le nom d\'utilisateur et le mot de passe Vous voulez … + Invalid remote report + Not Supported + This feature is not supported on your device, please see the manual for more details. + Error occurred + Send error report + An unexpected error occurred + Shortcut Keys + C - Commits\n F- Files\n S- Status\n ? - Help\n + Open remote url + Choose app to open %s remote + No Apps available to open the url + MGit requires that you grant it write access to be able to write local git repos to your storage, until you do this MGit will NOT work properly. En tirant ... @@ -173,5 +185,17 @@ Forcer pousser? Renommer repository échoué Fichier a été supprimé + Edit key password + Send report + Init + MGit error - gathering data to email a crash report + Clone with MGit + Invalid URL! + Repository already present! + Cloning … + Importing … + Initialising … + Key Password + Could not abort rebase while resetting repo - \ No newline at end of file + diff --git a/app/src/main/res/values-fr/strings_dialog.xml b/app/src/main/res/values-fr/strings_dialog.xml index f4906317..0d035f39 100644 --- a/app/src/main/res/values-fr/strings_dialog.xml +++ b/app/src/main/res/values-fr/strings_dialog.xml @@ -42,7 +42,6 @@ Créer un dépôt externe - Voulez-vous créer un repository git dans ce dossier? Créer - \ No newline at end of file + diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index f57126b8..05df57ac 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -161,4 +161,16 @@ Import Key Add Private Key פרופיל git + Edit key password + Send report + Init + MGit error - gathering data to email a crash report + Clone with MGit + Invalid URL! + Repository already present! + Cloning … + Importing … + Initialising … + Key Password + Could not abort rebase while resetting repo diff --git a/app/src/main/res/values-iw/strings_dialog.xml b/app/src/main/res/values-iw/strings_dialog.xml index c86db0cc..8c2df0c9 100644 --- a/app/src/main/res/values-iw/strings_dialog.xml +++ b/app/src/main/res/values-iw/strings_dialog.xml @@ -1,29 +1,41 @@ - Commit Hash (העתק מרשימת commit) - בחר שלוחה - Commit שינויים - הודעת Commit - לתקן Commit קודם - הוסף אוטומטית קבצים ששונו - Commit - נתיב מקומי - יבא כמאגר חיצוני - קבע נתיב מקומי - נתיב מקומי - צור מקומי - נתיב מקומי - נתיב מקומי - צור - הוסף שרת - שם שרת - URL שרת - הושלם - דחוף ל-... - האם אתה בטוח שברצונך להעלות שינויים אחרונים? - להעלות הכל? - דחוף תוצאה - צור מאגר חיצוני - האם ברצונך ליצור פרויקט git בתקייה זו? - יצירה + Commit Hash (העתק מרשימת commit) + בחר שלוחה + Commit שינויים + הודעת Commit + לתקן Commit קודם + הוסף אוטומטית קבצים ששונו + Commit + נתיב מקומי + יבא כמאגר חיצוני + קבע נתיב מקומי + נתיב מקומי + צור מקומי + נתיב מקומי + נתיב מקומי + צור + הוסף שרת + שם שרת + URL שרת + הושלם + דחוף ל-... + האם אתה בטוח שברצונך להעלות שינויים אחרונים? + להעלות הכל? + דחוף תוצאה + צור מאגר חיצוני + האם ברצונך ליצור פרויקט git בתקייה זו? + יצירה + Invalid remote report + Not Supported + This feature is not supported on your device, please see the manual for more details. + Error occurred + Send error report + An unexpected error occurred + Shortcut Keys + C - Commits\n F- Files\n S- Status\n ? - Help\n + Open remote url + Choose app to open %s remote + No Apps available to open the url + MGit requires that you grant it write access to be able to write local git repos to your storage, until you do this MGit will NOT work properly. diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 4dd94582..26be2958 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -172,5 +172,17 @@ リポジトリ構成 キーをインポート プライベートキーを追加 + Edit key password + Send report + Init + MGit error - gathering data to email a crash report + Clone with MGit + Invalid URL! + Repository already present! + Cloning … + Importing … + Initialising … + Key Password + Could not abort rebase while resetting repo diff --git a/app/src/main/res/values-ja/strings_dialog.xml b/app/src/main/res/values-ja/strings_dialog.xml index ef6c8532..3ef3fc5d 100644 --- a/app/src/main/res/values-ja/strings_dialog.xml +++ b/app/src/main/res/values-ja/strings_dialog.xml @@ -45,4 +45,17 @@ このディレクトリにGitリポジトリを作成してよろしいですか? 作成 - \ No newline at end of file + Invalid remote report + Not Supported + This feature is not supported on your device, please see the manual for more details. + Error occurred + Send error report + An unexpected error occurred + Shortcut Keys + C - Commits\n F- Files\n S- Status\n ? - Help\n + Open remote url + Choose app to open %s remote + No Apps available to open the url + MGit requires that you grant it write access to be able to write local git repos to your storage, until you do this MGit will NOT work properly. + + diff --git a/app/src/main/res/values-ko/arrays.xml b/app/src/main/res/values-ko/arrays.xml new file mode 100644 index 00000000..ac2187ad --- /dev/null +++ b/app/src/main/res/values-ko/arrays.xml @@ -0,0 +1,55 @@ + + + + + Fast Forward + Fast Forward Only + No Fast Forward + + + Add to stage + Checkout (Reset Changes) + Delete + Remove cached from repository + Remove force from repository + + + New Branch + Pull + Push + Add all to stage + Commit + Reset (HARD) + Merge + Fetch + Rebase + Cherry Pick + Diff + New File + New Directory + Add Remote + Remove Remote + Delete + Raw config + Config + + + Rename + Delete + + + + + light + dark + + + default + midnight + + + 0 + 1 + + + diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 62ca8767..ad1bad26 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -156,4 +156,15 @@ Git 프로필 다른 앱에서 열기 Private Key 추가 + Edit key password + Send report + Init + MGit error - gathering data to email a crash report + Clone with MGit + Invalid URL! + Repository already present! + Cloning … + Importing … + Initialising … + Key Password diff --git a/app/src/main/res/values-ko/strings_dialog.xml b/app/src/main/res/values-ko/strings_dialog.xml index 4fc420c5..cb4b6041 100644 --- a/app/src/main/res/values-ko/strings_dialog.xml +++ b/app/src/main/res/values-ko/strings_dialog.xml @@ -60,4 +60,17 @@ Fetch Fetch All - \ No newline at end of file + Invalid remote report + Not Supported + This feature is not supported on your device, please see the manual for more details. + Error occurred + Send error report + An unexpected error occurred + Shortcut Keys + C - Commits\n F- Files\n S- Status\n ? - Help\n + Open remote url + Choose app to open %s remote + No Apps available to open the url + MGit requires that you grant it write access to be able to write local git repos to your storage, until you do this MGit will NOT work properly. + + diff --git a/app/src/main/res/values-ko/strings_error.xml b/app/src/main/res/values-ko/strings_error.xml new file mode 100644 index 00000000..b0705420 --- /dev/null +++ b/app/src/main/res/values-ko/strings_error.xml @@ -0,0 +1,50 @@ + + + + Invalid remote + Transport error + Clone failed + Pull failed: not on branch + Pull failed + Diff failed + Out of memory + No apps can edit source file + No apps can open source file + Can\'t edit this file in this device. + Can\'t open this file in this device. + An unknown error occurred + A task for this repo is already running + Something wrong happened + Repository not found (there may be something wrong with this repo) + + Renaming repository failed + Author is not of the form Name <Email> + No commit message specified + + Could not abort rebase while resetting repo + + + Keylength is too small (at least 1024 bits for RSA and DSA) + Keylength is too large + Field should not be empty + Remote URL required + Repository name required + Repository name can\'t contain slash. + Repository already exists + File name required + Branch name required + File already exists + File name format error + You can only choose two items + No items selected + No older commits to compare with + Previous operation is still running + Please choose exactly one commit to copy + You should input something + Please add a remote first + This directory is already a Git repository + Save failed + Couldn\'t create file + No repository found + + diff --git a/app/src/main/res/values-ko/strings_success_msg.xml b/app/src/main/res/values-ko/strings_success_msg.xml new file mode 100644 index 00000000..1b760511 --- /dev/null +++ b/app/src/main/res/values-ko/strings_success_msg.xml @@ -0,0 +1,17 @@ + + + + File has been added to stage + File has been removed + Changes have been committed + Changes have been discarded + Cherrypicked successfully + Rebased successfully + Checkout successfully + Remote added + Remote removed + File saved Successfully + File can be edited + Commit hash has been copied + + diff --git a/app/src/main/res/values-ru/strings_error.xml b/app/src/main/res/values-ru/strings_error.xml index 45fa66e1..3185e794 100644 --- a/app/src/main/res/values-ru/strings_error.xml +++ b/app/src/main/res/values-ru/strings_error.xml @@ -18,7 +18,7 @@ Репозиторий не найден(возможно с ним что-то не так) Ошибка переименования репозитория - Author is not of the form Name <Email> + ]]> Нет сообщения к комиту Нельзя прирвать сброс diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index a6057a33..9cedd239 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -184,9 +184,5 @@ 使用 MGit 克隆 链接无效! 正在初始化… - github.com - gitlab.com - bitbucket.com - notabug.org repo 已存在! diff --git a/app/src/main/res/values-zh-rCN/strings_error.xml b/app/src/main/res/values-zh-rCN/strings_error.xml index d0746dd9..497635bc 100644 --- a/app/src/main/res/values-zh-rCN/strings_error.xml +++ b/app/src/main/res/values-zh-rCN/strings_error.xml @@ -18,7 +18,7 @@ 没有发现仓库 (可能是仓库已损坏) 重命名仓库失败 - 作者名称歌手不符合 Name <Email> + ]]> 未指定提交消息 无法在重置 repo 时放弃重建数据库 diff --git a/app/src/main/res/values/strings_error.xml b/app/src/main/res/values/strings_error.xml index b0705420..791cc884 100644 --- a/app/src/main/res/values/strings_error.xml +++ b/app/src/main/res/values/strings_error.xml @@ -18,7 +18,7 @@ Repository not found (there may be something wrong with this repo) Renaming repository failed - Author is not of the form Name <Email> + ]]> No commit message specified Could not abort rebase while resetting repo From cfa3d7e77432ffb075aff554814cf6b61698cca4 Mon Sep 17 00:00:00 2001 From: Maksim Lin Date: Sun, 24 Feb 2019 18:34:03 +1100 Subject: [PATCH 4/4] fix build due to libs using dup system classes --- app/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index b720b6f1..0c35ec75 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,6 +27,14 @@ android { } } +configurations { + all { + exclude module: 'httpclient' + } +} + + + dependencies { def supportLib_version = "27.1.1" def lifecycle_version = "1.1.1"