diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-09-03 10:48:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 14:18:14 +0530 |
commit | 3840f43fa0026b06b15913379761c1bf6b6a1c68 (patch) | |
tree | 41a5d47c3ed3ef06430d2d045876301d4db416ad /app/src/main/res | |
parent | 258ccc601605f3112d9310043b9a34bf6ca3c9e0 (diff) |
Refactor Git operations and auth (#1066)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_git_clone.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/menu/git_clone.xml | 15 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
3 files changed, 3 insertions, 16 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index b7ec6fc1..ad0a186b 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -11,7 +11,7 @@ android:background="?android:attr/windowBackground" android:padding="@dimen/activity_horizontal_margin" tools:background="@color/white" - tools:context="com.zeapo.pwdstore.git.GitOperationActivity"> + tools:context="com.zeapo.pwdstore.git.GitServerConfigActivity"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" diff --git a/app/src/main/res/menu/git_clone.xml b/app/src/main/res/menu/git_clone.xml deleted file mode 100644 index 5d5bd8c8..00000000 --- a/app/src/main/res/menu/git_clone.xml +++ /dev/null @@ -1,15 +0,0 @@ -<!-- - ~ Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. - ~ SPDX-License-Identifier: GPL-3.0-only - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:pwstore="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - tools:context="com.zeapo.pwdstore.git.GitServerConfigActivity"> - <item - android:id="@+id/user_pref" - android:orderInCategory="100" - android:title="@string/action_settings" - pwstore:showAsAction="never" /> -</menu> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5c8b75cd..99ff2223 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -402,6 +402,8 @@ <string name="git_push_other_error">Remote rejected non-fast-forward push. Check receive.denyNonFastForwards variable in config file of destination repository.</string> <string name="git_unknown_host">Unknown host: %1$s</string> <string name="git_operation_running">Running git operation…</string> + <string name="git_break_out_of_detached_success">There was a conflict when trying to rebase. Your local %1$s branch was pushed to another branch named %2$s\n Use this branch to resolve conflict on your computer</string> + <string name="git_break_out_of_detached_unneeded">The repository is not rebasing, no need to push to another branch</string> <!-- OpenKeychain not installed --> <string name="openkeychain_not_installed_title">OpenKeychain not installed</string> |