Update Translations + notifylisteners

This commit is contained in:
Sarah Jamie Lewis 2022-01-17 12:24:48 -08:00
parent ed671d32bc
commit ae6f0dd456
11 changed files with 37 additions and 12 deletions

View File

@ -1,6 +1,9 @@
{
"@@locale": "de",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "en",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "es",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "fr",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "it",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "pl",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "pt",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -1,6 +1,9 @@
{
"@@locale": "ru",
"@@last_modified": "2022-01-14T22:08:34+01:00",
"@@last_modified": "2022-01-17T21:20:54+01:00",
"labelTorNetwork": "Tor Network",
"descriptionACNCircuitInfo": "In depth information about the path that the anonymous communication network is using to connect to this conversation.",
"labelACNCircuitInfo": "ACN Circuit Info",
"fileSharingSettingsDownloadFolderTooltip": "Browse to select a different default folder for downloaded files.",
"fileSharingSettingsDownloadFolderDescription": "When files are downloaded automatically (e.g. image files, when image previews are enabled) a default location to download the files to is needed.",
"torSettingsErrorSettingPort": "Port Number must be between 1 and 65535",

View File

@ -603,6 +603,7 @@ class ContactInfoState extends ChangeNotifier {
String? get acnCircuit => this._acnCircuit;
set acnCircuit(String? acnCircuit) {
this._acnCircuit = acnCircuit;
notifyListeners()
}
// Indicated whether the conversation is archived, in which case it will

View File

@ -67,7 +67,7 @@ class _PeerSettingsViewState extends State<PeerSettingsView> {
children: [TextSpan(text: " ($ip)", style: TextStyle(fontSize: 8, fontWeight: FontWeight.normal))]));
}).toList(growable: true);
paths.add(RichText(text: TextSpan(text: "Tor Network", style: TextStyle(fontWeight: FontWeight.normal, fontSize: 8, fontFamily: "monospace"))));
paths.add(RichText(text: TextSpan(text: AppLocalizations.of(context)!.labelTorNetwork, style: TextStyle(fontWeight: FontWeight.normal, fontSize: 8, fontFamily: "monospace"))));
path = Column(
children: paths,
@ -135,8 +135,8 @@ class _PeerSettingsViewState extends State<PeerSettingsView> {
ListTile(
leading: Icon(CwtchIcons.onion_on, color: settings.current().mainTextColor),
isThreeLine: true,
title: Text("ACN Circuit Info"),
subtitle: Text("In depth information about the path that the anonymous communication network is using to connect to this conversation"),
title: Text(AppLocalizations.of(context)!.labelACNCircuitInfo),
subtitle: Text(AppLocalizations.of(context)!.descriptionACNCircuitInfo),
trailing: path,
),
SizedBox(

View File

@ -63,7 +63,7 @@ class _CwtchFolderPickerState extends State<CwtchFolderPicker> {
}
},
icon: Icon(Icons.folder),
tooltip: widget.tooltip, //todo: l18n
tooltip: widget.tooltip,
)));
}
}