Skip to content

Commit 512b354

Browse files
nouha06OITSofrecom
andauthored
feat: Update keys, english label and Arabic translations (#518) (#524)
* fix: Update Arabic translations * revert: pubspec.lock file * revert: pubspec.lock file * chore: update keys, english label and arabic translations --------- Co-authored-by: OITSofrecom <[email protected]>
1 parent 4456ea6 commit 512b354

37 files changed

+502
-654
lines changed

app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- [Library] Integration of System library v2.3.0, component changelog v1.11 ([#513](https://github.com/Orange-OpenSource/ouds-flutter/issues/#513))
1414

1515
### Fixed
16+
- [DemoApp][Library] Update keys, english label and Arabic translations ([#518](https://github.com/Orange-OpenSource/ouds-flutter/issues/#518))
1617

1718
## [0.7.0](https://github.com/Orange-OpenSource/ouds-flutter/compare/0.5.0...0.7.0) - 2025-12-01
1819

app/lib/l10n/gen/ouds_flutter_app_localizations.dart

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

app/lib/l10n/gen/ouds_flutter_app_localizations_ar.dart

Lines changed: 126 additions & 127 deletions
Large diffs are not rendered by default.

app/lib/l10n/gen/ouds_flutter_app_localizations_en.dart

Lines changed: 47 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,15 @@ class AppLocalizationsEn extends AppLocalizations {
4848
String get app_common_enabled_label => 'Enabled';
4949

5050
@override
51-
String get app_common_customizeChips_label_a11y => 'Chip list';
51+
String get app_common_customizeChipList_a11y => 'Chip list';
5252

5353
@override
54-
String get app_common_customizeChips_hint_a11y =>
54+
String get app_common_customizeChipsHint_a11y =>
5555
'Please select a chip by navigating through the options';
5656

5757
@override
5858
String get app_common_selected_label => 'Selected';
5959

60-
@override
61-
String get app_common_design_version => 'Reference design version:';
62-
6360
@override
6461
String get app_topBar_theme_button_a11y => 'Change theme';
6562

@@ -180,18 +177,12 @@ class AppLocalizationsEn extends AppLocalizations {
180177
String get app_components_common_onColoredBackground_label =>
181178
'On colored background';
182179

183-
@override
184-
String get app_components_common_hierarchy_label => 'Hierarchy';
185-
186180
@override
187181
String get app_components_common_status_label => 'Status';
188182

189183
@override
190184
String get app_components_common_size_label => 'Size';
191185

192-
@override
193-
String get app_components_common_textAndBulletLayout_label => 'Text + Bullet';
194-
195186
@override
196187
String get app_components_common_textAndLoaderLayout_label => 'Text + Loader';
197188

@@ -207,9 +198,6 @@ class AppLocalizationsEn extends AppLocalizations {
207198
@override
208199
String get app_components_common_icon_a11y => 'Icon';
209200

210-
@override
211-
String get app_components_common_style_label => 'Style';
212-
213201
@override
214202
String get app_components_common_readOnly_label => 'Read only';
215203

@@ -223,10 +211,13 @@ class AppLocalizationsEn extends AppLocalizations {
223211
String get app_components_common_helperText_label => 'Helper text';
224212

225213
@override
226-
String get app_components_common_length_label => 'Length';
214+
String get app_components_common_appearance_label => 'Appearance';
227215

228216
@override
229-
String get app_components_common_appearance_label => 'Appearance';
217+
String get app_components_common_version => 'Reference design version:';
218+
219+
@override
220+
String get app_components_common_textInputClearIcon_a11y => 'Clear value';
230221

231222
@override
232223
String get app_components_button_label => 'Button';
@@ -262,18 +253,12 @@ class AppLocalizationsEn extends AppLocalizations {
262253
@override
263254
String get app_components_controlItem_icon_label => 'Icon';
264255

265-
@override
266-
String get app_components_controlItem_readOnly_label => 'Read only';
267-
268256
@override
269257
String get app_components_controlItem_divider_label => 'Divider';
270258

271259
@override
272260
String get app_components_controlItem_reversed_label => 'Reversed';
273261

274-
@override
275-
String get app_components_controlItem_label_label => 'Label text';
276-
277262
@override
278263
String get app_components_divider_label => 'Divider';
279264

@@ -302,24 +287,26 @@ class AppLocalizationsEn extends AppLocalizations {
302287
String get app_components_radioButton_radioButtonItem_label =>
303288
'Radio Button Item';
304289

305-
@override
306-
String get app_components_radioButton_radioButtonItem_outlined_label =>
307-
'Outlined';
308-
309290
@override
310291
String get app_components_radioButton_radioButtonItem_extraLabel_label =>
311292
'Extra label';
312293

313294
@override
314295
String get app_components_switch_label => 'Switch';
315296

297+
@override
298+
String get app_components_switch_switch_label => 'Switch';
299+
316300
@override
317301
String get app_components_switch_description_text =>
318302
'A switch allows the user to toggle between two states, typically on and off. It is often represented as a button or a slider that changes position or color to indicate the current state. Switches are used to enable or disable features, options, or settings in an intuitive and visual manner.';
319303

320304
@override
321305
String get app_components_switch_switchItem_label => 'Switch item';
322306

307+
@override
308+
String get app_components_switch_switch_a11y => 'Switch content description';
309+
323310
@override
324311
String get app_components_badge_label => 'Badge';
325312

@@ -384,6 +371,9 @@ class AppLocalizationsEn extends AppLocalizations {
384371
@override
385372
String get app_components_tag_label => 'Tag';
386373

374+
@override
375+
String get app_components_tag_tag_label => 'Tag';
376+
387377
@override
388378
String get app_components_tag_description_text =>
389379
'A tag is a small element that shows short info like a label, keyword, or category.It helps users quickly find, group, or understand content.';
@@ -392,38 +382,44 @@ class AppLocalizationsEn extends AppLocalizations {
392382
String get app_components_tag_inputTag_label => 'Input tag';
393383

394384
@override
395-
String get app_components_tag_inputTag_description_text =>
385+
String get app_components_inputTag_description_text =>
396386
'An Input tag is a component that allows users to enter multiple values, each represented as a tag. As users type and submit values (usually by pressing enter, comma, or tab), each value is transformed into a Tag.';
397387

398388
@override
399-
String get app_components_text_input_label => 'Text input';
389+
String get app_components_tag_textAndBulletLayout_label => 'Text + Bullet';
390+
391+
@override
392+
String get app_components_textInput_label => 'Text input';
400393

401394
@override
402-
String get app_components_text_input_description_text =>
395+
String get app_components_textInput_description_text =>
403396
'A Text Input is a user interface component that allows users to enter, edit, or select single-line textual data. It\'s one of the most fundamental form elements used to capture user input such as names, emails, passwords, or search queries.';
404397

405398
@override
406-
String get app_components_text_input_leadingIcon_label => 'Leading icon';
399+
String get app_components_textInput_leadingIcon_label => 'Leading icon';
407400

408401
@override
409-
String get app_components_text_input_trailingIcon_label => 'Trailing action';
402+
String get app_components_textInput_trailingAction_label => 'Trailing action';
410403

411404
@override
412-
String get app_components_text_input_prefix_label => 'Prefix';
405+
String get app_components_textInput_prefix_label => 'Prefix';
413406

414407
@override
415-
String get app_components_text_input_suffix_label => 'Suffix';
408+
String get app_components_textInput_suffix_label => 'Suffix';
416409

417410
@override
418-
String get app_components_text_input_error_label =>
411+
String get app_components_textInput_error_label =>
419412
'This field can’t be empty.';
420413

421414
@override
422-
String get app_components_textInput_trailingIcon_a11y =>
423-
'Trailing icon content description';
415+
String get app_components_textInput_trailingAction_a11y =>
416+
'Trailing action content description';
424417

425418
@override
426-
String get app_components_text_input_helperLinkText_label => 'Helper link';
419+
String get app_components_textInput_helperLink_label => 'Helper link';
420+
421+
@override
422+
String get app_components_textInputHelperText_label => 'Helper Text';
427423

428424
@override
429425
String get app_components_link_label => 'Link';
@@ -439,45 +435,48 @@ class AppLocalizationsEn extends AppLocalizations {
439435
String get app_components_link_nextLayout_label => 'Next';
440436

441437
@override
442-
String get app_components_password_input_label => 'Password input';
438+
String get app_components_passwordInput_label => 'Password input';
443439

444440
@override
445-
String get app_components_password_input_description_text =>
441+
String get app_components_passwordInput_description_text =>
446442
'A password input is a form field specifically designed to securely capture a user’s confidential password. It masks the characters as they are typed, typically replacing them with dots, in order to protect the input from being read by others nearby. While the primary goal is to enhance privacy and security, the field may also include usability features such as a show/hide password toggle and helper text to guide password creation.';
447443

448444
@override
449-
String get app_components_password_input_error_label =>
445+
String get app_components_passwordInput_error_label =>
450446
'Please enter your password.';
451447

452448
@override
453-
String get app_components_pin_code_input_label => 'Pin code input';
449+
String get app_components_pinCodeInput_label => 'Pin code input';
450+
451+
@override
452+
String get app_components_pinCodeInput_length_label => 'Length';
454453

455454
@override
456-
String get app_components_pin_code_input_description_text =>
455+
String get app_components_pinCodeInput_description_text =>
457456
'A PIN code input is a specialized form field used to capture short, fixed-length numeric codes, typically for authentication or confirmation purposes, such as a 4, 6 or 8-digit personal identification number (PIN).';
458457

459458
@override
460-
String get app_components_pin_code_input_helperText_description_text_4 =>
459+
String get app_components_pinCodeInput_helperText_description_text_4 =>
461460
'Enter the 4-digit code sent to your phone.';
462461

463462
@override
464-
String get app_components_pin_code_input_helperText_description_text_6 =>
463+
String get app_components_pinCodeInput_helperText_description_text_6 =>
465464
'Enter the 6-digit code sent to your phone.';
466465

467466
@override
468-
String get app_components_pin_code_input_helperText_description_text_8 =>
467+
String get app_components_pinCodeInput_helperText_description_text_8 =>
469468
'Enter the 8-digit code sent to your phone.';
470469

471470
@override
472-
String get app_components_pin_code_input_error_label =>
471+
String get app_components_pinCodeInput_error_label =>
473472
'Please enter the verification code.';
474473

475474
@override
476-
String get app_components_pin_code_input_verification_error_label =>
475+
String get app_components_pinCodeInput_verification_error_label =>
477476
'Verification failed. Check and enter the correct code.';
478477

479478
@override
480-
String get app_components_pin_code_input_hidden_password_label =>
479+
String get app_components_pinCodeInput_hidden_password_label =>
481480
'Hidden Password';
482481

483482
@override

0 commit comments

Comments
 (0)