Przeglądaj źródła

Merge pull request #48 from rignaneseleo/patch-1

Better English texts
Caijinglong 5 lat temu
rodzic
commit
4945c82956
No account linked to committer's email address
1 zmienionych plików z 8 dodań i 8 usunięć
  1. 8
    8
      lib/src/provider/i18n_provider.dart

+ 8
- 8
lib/src/provider/i18n_provider.dart Wyświetl plik

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