Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added support for greek language #761

Merged
merged 3 commits into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [next]

- Add Greek localization ([#761](https://github.com/bdlukaa/fluent_ui/pull/761))

## 4.4.1

- Dynamically adding/removing items in NavigationPane ([#744](https://github.com/bdlukaa/fluent_ui/issues/744))
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
- [Motivation](#motivation)
- [Installation](#installation)
- [Badge](#badge)
- [Accent color](#accent-color)
- [Localization](#Localization)
- [Accent color](#accent-color)
- [Localization](#localization)
- [Contribution](#contribution)
- [Contributing new localizations](#contributing-new-localizations)
- [Acknowledgements](#acknowledgements)
Expand Down Expand Up @@ -140,6 +140,7 @@ FluentUI widgets currently supports out-of-the-box an wide number of languages,
- English
- French (@WinXaito)
- German (@larsb24)
- Greek (@pana-g)
- Hebrew (@yehudakremer)
- Hindi (@alexmercerind)
- Hungarian (@RedyAu)
Expand Down
5 changes: 5 additions & 0 deletions lib/l10n/generated/fluent_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import 'fluent_localizations_ar.dart';
import 'fluent_localizations_be.dart';
import 'fluent_localizations_cs.dart';
import 'fluent_localizations_de.dart';
import 'fluent_localizations_el.dart';
import 'fluent_localizations_en.dart';
import 'fluent_localizations_es.dart';
import 'fluent_localizations_fa.dart';
Expand Down Expand Up @@ -123,6 +124,7 @@ abstract class FluentLocalizations {
Locale('be'),
Locale('cs'),
Locale('de'),
Locale('el'),
Locale('es'),
Locale('fa'),
Locale('fr'),
Expand Down Expand Up @@ -352,6 +354,7 @@ class _FluentLocalizationsDelegate
'be',
'cs',
'de',
'el',
'en',
'es',
'fa',
Expand Down Expand Up @@ -405,6 +408,8 @@ FluentLocalizations lookupFluentLocalizations(Locale locale) {
return FluentLocalizationsCs();
case 'de':
return FluentLocalizationsDe();
case 'el':
return FluentLocalizationsEl();
case 'en':
return FluentLocalizationsEn();
case 'es':
Expand Down
102 changes: 102 additions & 0 deletions lib/l10n/generated/fluent_localizations_el.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import 'fluent_localizations.dart';

/// The translations for Modern Greek (`el`).
class FluentLocalizationsEl extends FluentLocalizations {
FluentLocalizationsEl([String locale = 'el']) : super(locale);

@override
String get backButtonTooltip => 'Πίσω';

@override
String get closeButtonLabel => 'Κλείσιμο';

@override
String get searchLabel => 'Αναζήτηση';

@override
String get closeNavigationTooltip => 'Κλείσιμο πλοήγησης';

@override
String get openNavigationTooltip => 'Ανοίγμα πλοήγησης';

@override
String get clickToSearch => 'Πατήστε εδώ για αναζήτηση';

@override
String get modalBarrierDismissLabel => 'Κλείσιμο';

@override
String get minimizeWindowTooltip => 'Ελαχιστοποίηση';

@override
String get restoreWindowTooltip => 'Επαναφορά';

@override
String get closeWindowTooltip => 'Κλείσιμο';

@override
String get dialogLabel => 'Παράθυρο διαλόγου';

@override
String get cutActionLabel => 'Αποκοπή';

@override
String get copyActionLabel => 'Αντιγραφή';

@override
String get pasteActionLabel => 'Επικόλληση';

@override
String get selectAllActionLabel => 'Επιλογή όλων';

@override
String get newTabLabel => 'Προσθήκη νέας καρτέλας';

@override
String get closeTabLabelSuffix => 'Κλείσιμο καρτέλας';

@override
String get scrollTabBackwardLabel => 'Κύλιση λίστας προς τα πίσω';

@override
String get scrollTabForwardLabel => 'Κύλιση λίστας προς τα εμπρός';

@override
String get noResultsFoundLabel => 'Δεν βρέθηκαν αποτελέσματα';

@override
String get copyActionTooltip =>
'Αντιγραφή του επιλεγμένου περιεχομένου στο πρόχειρο';

@override
String get cutActionTooltip =>
'Αποκοπή του επιλεγμένου περιεχομένου στο πρόχειρο';

@override
String get pasteActionTooltip =>
'Επικόλληση περιεχομένου από το πρόχειρο σε αυτό το σημείο';

@override
String get selectAllActionTooltip => 'Επιλογή όλων';

@override
String get hour => 'ώρα';

@override
String get minute => 'λεπτό';

@override
String get am => 'ΠΜ';

@override
String get pm => 'ΜΜ';

@override
String get month => 'μήνας';

@override
String get day => 'ημέρα';

@override
String get year => 'έτος';
}
34 changes: 34 additions & 0 deletions lib/l10n/intl_el.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"@@locale": "el",
"backButtonTooltip": "Πίσω",
"closeButtonLabel": "Κλείσιμο",
"searchLabel": "Αναζήτηση",
"closeNavigationTooltip": "Κλείσιμο πλοήγησης",
"openNavigationTooltip": "Ανοίγμα πλοήγησης",
"clickToSearch": "Πατήστε εδώ για αναζήτηση",
"modalBarrierDismissLabel": "Κλείσιμο",
"minimizeWindowTooltip": "Ελαχιστοποίηση",
"restoreWindowTooltip": "Επαναφορά",
"closeWindowTooltip": "Κλείσιμο",
"dialogLabel": "Παράθυρο διαλόγου",
"cutActionLabel": "Αποκοπή",
"copyActionLabel": "Αντιγραφή",
"pasteActionLabel": "Επικόλληση",
"selectAllActionLabel": "Επιλογή όλων",
"newTabLabel": "Προσθήκη νέας καρτέλας",
"closeTabLabelSuffix": "Κλείσιμο καρτέλας",
"scrollTabBackwardLabel": "Κύλιση λίστας προς τα πίσω",
"scrollTabForwardLabel": "Κύλιση λίστας προς τα εμπρός",
"noResultsFoundLabel": "Δεν βρέθηκαν αποτελέσματα",
"copyActionTooltip": "Αντιγραφή του επιλεγμένου περιεχομένου στο πρόχειρο",
"cutActionTooltip": "Αποκοπή του επιλεγμένου περιεχομένου στο πρόχειρο",
"pasteActionTooltip": "Επικόλληση περιεχομένου από το πρόχειρο σε αυτό το σημείο",
"selectAllActionTooltip": "Επιλογή όλων",
"hour": "ώρα",
"minute": "λεπτό",
"am": "ΠΜ",
"pm": "ΜΜ",
"month": "μήνας",
"day": "ημέρα",
"year": "έτος"
}