Parcourir la source

Simplify strings

Vishnu Mohandas il y a 4 ans
Parent
commit
1776763de6
1 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 6 6
      lib/ui/sync_indicator.dart

+ 6 - 6
lib/ui/sync_indicator.dart

@@ -104,28 +104,28 @@ class _SyncIndicatorState extends State<SyncIndicator> {
     if (_event == null ||
         _event.status == SyncStatus.applying_local_diff ||
         _event.status == SyncStatus.applying_remote_diff) {
-      return "Syncing...";
+      return "syncing...";
     }
     if (_event.status == SyncStatus.preparing_for_upload) {
-      return "Encrypting backup...";
+      return "encrypting backup...";
     }
     if (_event.status == SyncStatus.in_progress) {
       return _event.completed.toString() +
           "/" +
           _event.total.toString() +
-          " memories preserved.";
+          " memories preserved";
     }
     if (_event.status == SyncStatus.paused) {
       return _event.reason;
     }
     if (_event.status == SyncStatus.completed) {
       if (_event.wasStopped) {
-        return "Sync stopped.";
+        return "sync stopped";
       } else {
-        return "All memories preserved.";
+        return "all memories preserved";
       }
     }
     // _event.status == SyncStatus.error)
-    return "Upload failed.";
+    return "upload failed";
   }
 }