mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-05-15 22:43:03 +02:00
Extract hardcoded strings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
9215cdc2eb
commit
1c48ffe283
|
|
@ -95,9 +95,9 @@ class GitServerConfigActivity : BaseGitActivity() {
|
|||
putString("git_remote_username", serverUser)
|
||||
putString("git_remote_location", serverPath)
|
||||
}
|
||||
Snackbar.make(binding.root, "Successfully saved configuration", Snackbar.LENGTH_SHORT).show()
|
||||
Snackbar.make(binding.root, getString(R.string.git_server_config_save_success), Snackbar.LENGTH_SHORT).show()
|
||||
} else {
|
||||
Snackbar.make(binding.root, "Configuration error: please verify your settings and try again", Snackbar.LENGTH_LONG).show()
|
||||
Snackbar.make(binding.root, getString(R.string.git_server_config_save_failure), Snackbar.LENGTH_LONG).show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -348,4 +348,6 @@
|
|||
<string name="connection_mode_ssh_key" translatable="false">SSH key</string>
|
||||
<string name="connection_mode_basic_authentication" translatable="false">Password</string>
|
||||
<string name="connection_mode_openkeychain" translatable="false">OpenKeychain</string>
|
||||
<string name="git_server_config_save_success">Successfully saved configuration</string>
|
||||
<string name="git_server_config_save_failure">Configuration error: please verify your settings and try again</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Reference in a new issue