Skip to content

Commit f402e18

Browse files
committed
feat(i18n): initial localization sets
1 parent 793cd49 commit f402e18

13 files changed

+2097
-7
lines changed

l10n.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
arb-dir: lib/l10n
22
template-arb-file: app_en.arb
3-
output-localization-file: app_localizations.dart
3+
output-localization-file: app_localizations.dart
4+
untranslated-messages-file: untranslated_messages.json
5+
output-class: AppLocalizations
6+
preferred-supported-locales: ['en']
7+
use-deferred-loading: true
8+
gen-inputs-and-outputs-list: outputs.json
9+
synthetic-package: false

lib/l10n/app_en.arb

Lines changed: 216 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,213 @@
11
{
22
"@@locale": "en",
3+
"@@last_modified": "2024-08-19T00:00:00.000Z",
4+
35
"appTitle": "Stack Wallet",
46
"@appTitle": {
57
"description": "The title of the application"
68
},
9+
10+
"walletsTab": "Wallets",
11+
"@walletsTab": {
12+
"description": "Bottom navigation tab label for wallets view"
13+
},
14+
"exchangeTab": "Exchange",
15+
"@exchangeTab": {
16+
"description": "Bottom navigation tab label for exchange view"
17+
},
18+
"buyTab": "Buy",
19+
"@buyTab": {
20+
"description": "Bottom navigation tab label for buy view"
21+
},
22+
"settingsTab": "Settings",
23+
"@settingsTab": {
24+
"description": "Bottom navigation tab label for settings view"
25+
},
26+
"notificationsTitle": "Notifications",
27+
"@notificationsTitle": {
28+
"description": "AppBar title for notifications screen"
29+
},
30+
"addressBookTitle": "Address Book",
31+
"@addressBookTitle": {
32+
"description": "AppBar title for address book screen"
33+
},
34+
"homeTitle": "Home",
35+
"@homeTitle": {
36+
"description": "AppBar title for home screen"
37+
},
38+
"walletViewTitle": "Wallet",
39+
"@walletViewTitle": {
40+
"description": "AppBar title for wallet details screen"
41+
},
42+
"sendTitle": "Send",
43+
"@sendTitle": {
44+
"description": "AppBar title for send screen"
45+
},
46+
"sendFromTitle": "Send from",
47+
"@sendFromTitle": {
48+
"description": "AppBar title for send from screen"
49+
},
50+
"receiveTitle": "Receive",
51+
"@receiveTitle": {
52+
"description": "AppBar title for receive screen"
53+
},
54+
"swapTitle": "Swap",
55+
"@swapTitle": {
56+
"description": "AppBar title for swap screen"
57+
},
58+
"tokensTitle": "Tokens",
59+
"@tokensTitle": {
60+
"description": "AppBar title for tokens screen"
61+
},
62+
63+
"saveButton": "Save",
64+
"@saveButton": {
65+
"description": "Generic save button label used across forms"
66+
},
67+
"cancelButton": "Cancel",
68+
"@cancelButton": {
69+
"description": "Generic cancel button label used across dialogs"
70+
},
71+
"continueButton": "Continue",
72+
"@continueButton": {
73+
"description": "Continue button text for multi-step processes"
74+
},
75+
"editButton": "Edit",
76+
"@editButton": {
77+
"description": "Edit button label"
78+
},
79+
"deleteButton": "Delete",
80+
"@deleteButton": {
81+
"description": "Delete button label"
82+
},
83+
"nextButton": "Next",
84+
"@nextButton": {
85+
"description": "Next button for navigation"
86+
},
87+
"closeButton": "Close",
88+
"@closeButton": {
89+
"description": "Close button for dialogs and modals"
90+
},
91+
"okButton": "OK",
92+
"@okButton": {
93+
"description": "OK button for confirmation dialogs"
94+
},
95+
"yesButton": "Yes",
96+
"@yesButton": {
97+
"description": "Yes button for confirmation dialogs"
98+
},
99+
"noButton": "No",
100+
"@noButton": {
101+
"description": "No button for confirmation dialogs"
102+
},
103+
"copyButton": "Copy",
104+
"@copyButton": {
105+
"description": "Copy button for copying text to clipboard"
106+
},
107+
"sendButton": "Send",
108+
"@sendButton": {
109+
"description": "Send button for transactions"
110+
},
111+
"receiveButton": "Receive",
112+
"@receiveButton": {
113+
"description": "Receive button for receiving transactions"
114+
},
115+
"addButton": "Add",
116+
"@addButton": {
117+
"description": "Add button for creating new items"
118+
},
119+
120+
"nameLabel": "Name",
121+
"@nameLabel": {
122+
"description": "Label for name input fields"
123+
},
124+
"amountLabel": "Amount",
125+
"@amountLabel": {
126+
"description": "Label for amount input fields"
127+
},
128+
"addressLabel": "Address",
129+
"@addressLabel": {
130+
"description": "Label for address input fields"
131+
},
132+
"feeLabel": "Fee",
133+
"@feeLabel": {
134+
"description": "Label for fee input fields"
135+
},
136+
"noteLabel": "Note",
137+
"@noteLabel": {
138+
"description": "Label for note input fields"
139+
},
140+
"passwordLabel": "Password",
141+
"@passwordLabel": {
142+
"description": "Label for password input fields"
143+
},
144+
"searchHint": "Search...",
145+
"@searchHint": {
146+
"description": "Placeholder text for search fields"
147+
},
148+
"enterPasswordHint": "Enter password",
149+
"@enterPasswordHint": {
150+
"description": "Placeholder text for password fields"
151+
},
152+
"enterAmountHint": "0.00",
153+
"@enterAmountHint": {
154+
"description": "Placeholder text for amount fields"
155+
},
156+
"optionalHint": "Optional",
157+
"@optionalHint": {
158+
"description": "Hint text for optional fields"
159+
},
160+
161+
"requiredFieldError": "This field is required",
162+
"@requiredFieldError": {
163+
"description": "Error message for required fields that are empty"
164+
},
165+
"invalidEmailError": "Please enter a valid email address",
166+
"@invalidEmailError": {
167+
"description": "Error message for invalid email format"
168+
},
169+
"invalidAddressError": "Please enter a valid address",
170+
"@invalidAddressError": {
171+
"description": "Error message for invalid address format"
172+
},
173+
"insufficientFundsError": "Insufficient funds",
174+
"@insufficientFundsError": {
175+
"description": "Error message when user has insufficient funds"
176+
},
177+
"networkError": "Network connection failed",
178+
"@networkError": {
179+
"description": "Error message for network connection failures"
180+
},
181+
"transactionFailed": "Transaction failed",
182+
"@transactionFailed": {
183+
"description": "Error message for failed transactions"
184+
},
185+
186+
"loadingStatus": "Loading...",
187+
"@loadingStatus": {
188+
"description": "Status message while loading"
189+
},
190+
"processingStatus": "Processing...",
191+
"@processingStatus": {
192+
"description": "Status message while processing"
193+
},
194+
"syncingStatus": "Syncing...",
195+
"@syncingStatus": {
196+
"description": "Status message while syncing"
197+
},
198+
"completedStatus": "Completed",
199+
"@completedStatus": {
200+
"description": "Status message when operation is completed"
201+
},
202+
"pendingStatus": "Pending",
203+
"@pendingStatus": {
204+
"description": "Status message when operation is pending"
205+
},
206+
"confirmedStatus": "Confirmed",
207+
"@confirmedStatus": {
208+
"description": "Status message when transaction is confirmed"
209+
},
210+
7211
"wallets": "Wallets",
8212
"@wallets": {
9213
"description": "Label for the wallets section"
@@ -24,10 +228,6 @@
24228
"@notifications": {
25229
"description": "Label for the notifications section"
26230
},
27-
"continueButton": "Continue",
28-
"@continueButton": {
29-
"description": "Continue button text"
30-
},
31231
"saveChanges": "Save changes",
32232
"@saveChanges": {
33233
"description": "Save changes button text"
@@ -40,6 +240,18 @@
40240
"@contractAddress": {
41241
"description": "Label for contract address field"
42242
},
243+
"symbolLabel": "Symbol",
244+
"@symbolLabel": {
245+
"description": "Label for symbol field"
246+
},
247+
"typeLabel": "Type",
248+
"@typeLabel": {
249+
"description": "Label for type field"
250+
},
251+
"decimalsLabel": "Decimals",
252+
"@decimalsLabel": {
253+
"description": "Label for decimals field"
254+
},
43255
"name": "Name",
44256
"@name": {
45257
"description": "Label for name field"

0 commit comments

Comments
 (0)