-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Czech and Slovak translations (#259)
* Add Czech and Slovak translation * Document Czech and Slovak translation --------- Co-authored-by: cedvdb <[email protected]>
- Loading branch information
Showing
7 changed files
with
152 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"@@locale": "cs", | ||
"invalidPhoneNumber": "Neplatné telefonní číslo", | ||
"invalidCountry": "Neplatná země", | ||
"invalidMobilePhoneNumber": "Neplatné číslo mobilního telefonu", | ||
"invalidFixedLinePhoneNumber": "Neplatné číslo pevné linky", | ||
"requiredPhoneNumber": "Telefonní číslo je povinné", | ||
"selectACountrySemanticLabel": "Vyberte zemi. Aktuální výběr: {countryName} {dialCode}", | ||
"@selectACountrySemanticLabel": { | ||
"description": "semantic description of the country button", | ||
"placeholders": { | ||
"countryName": { | ||
"type": "String" | ||
}, | ||
"dialCode": { | ||
"type": "String" | ||
} | ||
} | ||
}, | ||
"phoneNumber": "Telefonní číslo", | ||
"currentValueSemanticLabel": "Aktuální hodnota: {currentValue}", | ||
"@currentValueSemanticLabel": { | ||
"description": "semantic description of the phone input. The label or hint will be dynamically added", | ||
"placeholders": { | ||
"currentValue": { | ||
"type": "String" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"@@locale": "sk", | ||
"invalidPhoneNumber": "Neplatné telefónne číslo", | ||
"invalidCountry": "Neplatná krajina", | ||
"invalidMobilePhoneNumber": "Neplatné číslo mobilného telefónu", | ||
"invalidFixedLinePhoneNumber": "Neplatné číslo pevnej linky", | ||
"requiredPhoneNumber": "Telefónne číslo je povinné", | ||
"selectACountrySemanticLabel": "Vyberte krajinu. Aktuálny výber: {countryName} {dialCode}", | ||
"@selectACountrySemanticLabel": { | ||
"description": "semantic description of the country button", | ||
"placeholders": { | ||
"countryName": { | ||
"type": "String" | ||
}, | ||
"dialCode": { | ||
"type": "String" | ||
} | ||
} | ||
}, | ||
"phoneNumber": "Telefónne číslo", | ||
"currentValueSemanticLabel": "Aktuálna hodnota: {currentValue}", | ||
"@currentValueSemanticLabel": { | ||
"description": "semantic description of the phone input. The label or hint will be dynamically added", | ||
"placeholders": { | ||
"currentValue": { | ||
"type": "String" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
lib/src/localization/generated/phone_field_localization_impl_cs.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import 'phone_field_localization_impl.dart'; | ||
|
||
// ignore_for_file: type=lint | ||
|
||
/// The translations for Czech (`cs`). | ||
class PhoneFieldLocalizationImplCs extends PhoneFieldLocalizationImpl { | ||
PhoneFieldLocalizationImplCs([String locale = 'cs']) : super(locale); | ||
|
||
@override | ||
String get invalidPhoneNumber => 'Neplatné telefonní číslo'; | ||
|
||
@override | ||
String get invalidCountry => 'Neplatná země'; | ||
|
||
@override | ||
String get invalidMobilePhoneNumber => 'Neplatné číslo mobilního telefonu'; | ||
|
||
@override | ||
String get invalidFixedLinePhoneNumber => 'Neplatné číslo pevné linky'; | ||
|
||
@override | ||
String get requiredPhoneNumber => 'Telefonní číslo je povinné'; | ||
|
||
@override | ||
String selectACountrySemanticLabel(String countryName, String dialCode) { | ||
return 'Vyberte zemi. Aktuální výběr: $countryName $dialCode'; | ||
} | ||
|
||
@override | ||
String get phoneNumber => 'Telefonní číslo'; | ||
|
||
@override | ||
String currentValueSemanticLabel(String currentValue) { | ||
return 'Aktuální hodnota: $currentValue'; | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
lib/src/localization/generated/phone_field_localization_impl_sk.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import 'phone_field_localization_impl.dart'; | ||
|
||
// ignore_for_file: type=lint | ||
|
||
/// The translations for Slovak (`sk`). | ||
class PhoneFieldLocalizationImplSk extends PhoneFieldLocalizationImpl { | ||
PhoneFieldLocalizationImplSk([String locale = 'sk']) : super(locale); | ||
|
||
@override | ||
String get invalidPhoneNumber => 'Neplatné telefónne číslo'; | ||
|
||
@override | ||
String get invalidCountry => 'Neplatná krajina'; | ||
|
||
@override | ||
String get invalidMobilePhoneNumber => 'Neplatné číslo mobilného telefónu'; | ||
|
||
@override | ||
String get invalidFixedLinePhoneNumber => 'Neplatné číslo pevnej linky'; | ||
|
||
@override | ||
String get requiredPhoneNumber => 'Telefónne číslo je povinné'; | ||
|
||
@override | ||
String selectACountrySemanticLabel(String countryName, String dialCode) { | ||
return 'Vyberte krajinu. Aktuálny výber: $countryName $dialCode'; | ||
} | ||
|
||
@override | ||
String get phoneNumber => 'Telefónne číslo'; | ||
|
||
@override | ||
String currentValueSemanticLabel(String currentValue) { | ||
return 'Aktuálna hodnota: $currentValue'; | ||
} | ||
} |