From 4e1b2e2563de6513847cdcf18e190d24b00679e2 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 31 Aug 2020 11:21:57 +0200 Subject: [PATCH] Add Localization as a Feature --- assets/langs/en.yaml | 3 +++ lib/features.dart | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/assets/langs/en.yaml b/assets/langs/en.yaml index ebd6b151..3f51a752 100644 --- a/assets/langs/en.yaml +++ b/assets/langs/en.yaml @@ -241,6 +241,9 @@ feature: encryptedHosting: Encrypted Git Hosting desktop: Desktop App markdownToolbar: Markdown Toolbar + localization: + title: Localization + subtitle: Allow GitJournal to be translated feature_timeline: title: Feature Timeline diff --git a/lib/features.dart b/lib/features.dart index 31260527..caf6296a 100644 --- a/lib/features.dart +++ b/lib/features.dart @@ -36,6 +36,7 @@ class Features { Feature.yamlCreatedKey, Feature.yamlTagsKey, Feature.customMetaData, + Feature.localization, ]; static final inProgress = [ @@ -310,6 +311,14 @@ class Feature { "", true, ); + + static final localization = Feature( + "localization", + DateTime(2020, 08, 18), + tr("feature.localization.title"), + tr("feature.localization.subtitle"), + false, + ); } // Feature Adding checklist