Browse Source

Better English texts

Leo 5 years ago
parent
commit
ca2e606fd0
No account linked to committer's email address
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      lib/src/provider/i18n_provider.dart

+ 8
- 8
lib/src/provider/i18n_provider.dart View File

17
   String getAllGalleryText(Options options);
17
   String getAllGalleryText(Options options);
18
 
18
 
19
   String loadingText() {
19
   String loadingText() {
20
-    return "loading...";
20
+    return "Loading...";
21
   }
21
   }
22
 
22
 
23
   I18NPermissionProvider getNotPermissionText(Options options);
23
   I18NPermissionProvider getNotPermissionText(Options options);
77
 
77
 
78
   @override
78
   @override
79
   String getTitleText(Options options) {
79
   String getTitleText(Options options) {
80
-    return "image picker";
80
+    return "Image Picker";
81
   }
81
   }
82
 
82
 
83
   @override
83
   @override
84
   String getPreviewText(Options options, SelectedProvider selectedProvider) {
84
   String getPreviewText(Options options, SelectedProvider selectedProvider) {
85
-    return "preview(${selectedProvider.selectedCount})";
85
+    return "Preview (${selectedProvider.selectedCount})";
86
   }
86
   }
87
 
87
 
88
   @override
88
   @override
89
   String getSureText(Options options, int currentCount) {
89
   String getSureText(Options options, int currentCount) {
90
-    return "sure($currentCount/${options.maxSelected})";
90
+    return "Save ($currentCount/${options.maxSelected})";
91
   }
91
   }
92
 
92
 
93
   @override
93
   @override
94
   String getSelectedOptionsText(Options options) {
94
   String getSelectedOptionsText(Options options) {
95
-    return "selected";
95
+    return "Selected";
96
   }
96
   }
97
 
97
 
98
   @override
98
   @override
99
   String getMaxTipText(Options options) {
99
   String getMaxTipText(Options options) {
100
-    return "select ${options.maxSelected} pictures at most";
100
+    return "Select ${options.maxSelected} pictures at most";
101
   }
101
   }
102
 
102
 
103
   @override
103
   @override
108
   @override
108
   @override
109
   I18NPermissionProvider getNotPermissionText(Options options) {
109
   I18NPermissionProvider getNotPermissionText(Options options) {
110
     return I18NPermissionProvider(
110
     return I18NPermissionProvider(
111
-        cancelText: "cancel",
112
-        sureText: "allow",
111
+        cancelText: "Cancel",
112
+        sureText: "Allow",
113
         titleText: "No permission to access gallery");
113
         titleText: "No permission to access gallery");
114
   }
114
   }
115
 }
115
 }