Skip to content

Commit

Permalink
Rewrite the string for Debug info toast
Browse files Browse the repository at this point in the history
old: about_ankidroid_successfully_copied_debug
new: about_ankidroid_successfully_copied_debug_info
  • Loading branch information
snowtimeglass authored and mikehardy committed Mar 26, 2023
1 parent 6555264 commit f8f0146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class AboutFragment : Fragment() {
val debugInfo = DebugInfoService.getDebugInfo(requireContext()) { (requireActivity() as Preferences).col }
if (requireContext().copyToClipboard(debugInfo)) {
showSnackbar(
R.string.about_ankidroid_successfully_copied_debug,
R.string.about_ankidroid_successfully_copied_debug_info,
Snackbar.LENGTH_SHORT
)
} else {
Expand Down
2 changes: 1 addition & 1 deletion AnkiDroid/src/main/res/values/02-strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
<string name="anki_js_error_code">(Error Code: %d)</string>

<!-- About AnkiDroid screen -->
<string name="about_ankidroid_successfully_copied_debug">Debug information was copied to clipboard</string>
<string name="about_ankidroid_successfully_copied_debug_info">Copied to clipboard</string>
<string name="about_ankidroid_error_copy_debug_info">Error copying debug information to clipboard</string>

<!-- Card Viewer -->
Expand Down

0 comments on commit f8f0146

Please sign in to comment.