Translate Git Remote Settings title/subtitle

This commit is contained in:
Vishesh Handa
2020-05-29 13:26:29 +02:00
parent cb8764f52d
commit 6e229aeebd
3 changed files with 5 additions and 3 deletions

View File

@ -35,6 +35,8 @@ settings:
subtitle: Notes which have not been synced will be lost
ok: Ok
cancel: Cancel
title: Git Remote Settings
subtitle: Configure where your notes are synced
noteMetaData:
title: Note Metadata Settings
subtitle: Configure how the YAML Metadata is saved

View File

@ -87,7 +87,7 @@ class _GitRemoteSettingsScreenState extends State<GitRemoteSettingsScreen> {
return Scaffold(
appBar: AppBar(
title: const Text('Git Remote Settings'),
title: Text(tr("settings.gitRemote.title")),
leading: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () {

View File

@ -179,8 +179,8 @@ class SettingsListState extends State<SettingsList> {
ListTile(title: gitAuthorForm),
ListTile(title: gitAuthorEmailForm),
ListTile(
title: const Text("Git Remote Settings"),
subtitle: const Text("Configure where your notes are synced"),
title: Text(tr("settings.gitRemote.title")),
subtitle: Text(tr("settings.gitRemote.subtitle")),
onTap: () {
var route = MaterialPageRoute(
builder: (context) => GitRemoteSettingsScreen(),