Browse Source

fix typo in string-key

AndyScherzinger 6 years ago
parent
commit
3c76ad98ca

+ 1 - 1
src/main/java/com/owncloud/android/ui/activity/CopyToClipboardActivity.java

@@ -70,7 +70,7 @@ public class CopyToClipboardActivity extends Activity {
             }
 
         } catch (Exception e) {
-            DisplayUtils.showSnackMessage(this, R.string.clipboard_uxexpected_error);
+            DisplayUtils.showSnackMessage(this, R.string.clipboard_unexpected_error);
             Log_OC.e(TAG, "Exception caught while copying to clipboard", e);
         }
 

+ 1 - 1
src/main/java/com/owncloud/android/utils/ClipboardUtil.java

@@ -27,7 +27,7 @@ public class ClipboardUtil {
 
                 Toast.makeText(activity, R.string.clipboard_text_copied, Toast.LENGTH_SHORT).show();
             } catch (Exception e) {
-                Toast.makeText(activity, R.string.clipboard_uxexpected_error, Toast.LENGTH_SHORT).show();
+                Toast.makeText(activity, R.string.clipboard_unexpected_error, Toast.LENGTH_SHORT).show();
                 Log_OC.e(TAG, "Exception caught while copying to clipboard", e);
             }
         } else {

+ 1 - 1
src/main/res/values/strings.xml

@@ -372,7 +372,7 @@
     <string name="copy_link">Copy link</string>
     <string name="clipboard_text_copied">Copied to clipboard</string>
     <string name="clipboard_no_text_to_copy">Received no text to copy to clipboard</string>
-    <string name="clipboard_uxexpected_error">Unexpected error while copying to clipboard</string>
+    <string name="clipboard_unexpected_error">Unexpected error while copying to clipboard</string>
     <string name="clipboard_label">Text copied from %1$s</string>
 
     <string name="error_cant_bind_to_operations_service">Critical error: Unable to perform operations</string>