mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: support el_GR language (#4922)
This commit is contained in:
parent
a16196eee5
commit
452974ab99
@ -1,8 +1,5 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'package:appflowy/mobile/application/mobile_router.dart';
|
||||
import 'package:appflowy/plugins/document/application/document_appearance_cubit.dart';
|
||||
import 'package:appflowy/startup/startup.dart';
|
||||
@ -21,6 +18,8 @@ import 'package:appflowy_editor/appflowy_editor.dart' hide Log;
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flowy_infra/theme.dart';
|
||||
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
@ -68,6 +67,7 @@ class InitAppWidgetTask extends LaunchTask {
|
||||
Locale('en'),
|
||||
Locale('es', 'VE'),
|
||||
Locale('eu', 'ES'),
|
||||
Locale('el', 'GR'),
|
||||
Locale('fr', 'FR'),
|
||||
Locale('fr', 'CA'),
|
||||
Locale('hu', 'HU'),
|
||||
|
@ -37,6 +37,8 @@ String languageFromLocale(Locale locale) {
|
||||
return "Español";
|
||||
case "eu":
|
||||
return "Euskera";
|
||||
case "el":
|
||||
return "Ελληνικά";
|
||||
case "fr":
|
||||
switch (locale.countryCode) {
|
||||
case "CA":
|
||||
|
@ -9,6 +9,7 @@
|
||||
"de-DE",
|
||||
"es-VE",
|
||||
"eu-ES",
|
||||
"el-GR",
|
||||
"fa",
|
||||
"fr-CA",
|
||||
"fr-FR",
|
||||
|
Loading…
Reference in New Issue
Block a user