Ukrainian translation polished; localized remaining hardcoded UI strings

This commit is contained in:
Serge Tarkovski
2026-04-23 17:27:39 +03:00
parent 6b6a881c7a
commit 5e446207c6
52 changed files with 2543 additions and 417 deletions
+2 -2
View File
@@ -147,7 +147,7 @@ class _PathManagementDialogState extends State<_PathManagementDialog> {
context,
availableContacts: availableContacts,
initialPath: pathForInput.isEmpty ? null : pathForInput,
currentPathLabel: currentContact.pathLabel,
currentPathLabel: currentContact.pathLabel(l10n),
onRefresh: connector.isConnected ? connector.getContacts : null,
);
@@ -236,7 +236,7 @@ class _PathManagementDialogState extends State<_PathManagementDialog> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
l10n.path_currentPath(currentContact.pathLabel),
l10n.path_currentPath(currentContact.pathLabel(l10n)),
style: const TextStyle(fontSize: 12, color: Colors.grey),
),
const SizedBox(height: 12),
+1 -1
View File
@@ -311,7 +311,7 @@ class _PathSelectionDialogState extends State<PathSelectionDialog> {
style: const TextStyle(fontSize: 14),
),
subtitle: Text(
'${contact.typeLabel}${contact.publicKeyHex.substring(0, 2)}',
'${contact.typeLabelLocalized(l10n)}${contact.publicKeyHex.substring(0, 2)}',
style: const TextStyle(fontSize: 10),
),
trailing: isSelected
+3 -1
View File
@@ -1,6 +1,8 @@
import 'package:flutter/material.dart';
import 'package:qr_flutter/qr_flutter.dart';
import '../l10n/l10n.dart';
/// A reusable QR code display widget for sharing data.
///
/// Features:
@@ -197,7 +199,7 @@ class QrCodeShareDialog extends StatelessWidget {
width: double.infinity,
child: FilledButton(
onPressed: () => Navigator.pop(context),
child: const Text('Done'),
child: Text(context.l10n.common_done),
),
),
],
+1 -1
View File
@@ -467,7 +467,7 @@ class _RepeaterLoginDialogState extends State<RepeaterLoginDialog> {
),
const SizedBox(height: 4),
Text(
repeater.pathLabel,
repeater.pathLabel(context.l10n),
style: const TextStyle(fontSize: 11, color: Colors.grey),
),
const SizedBox(height: 8),
+1 -1
View File
@@ -393,7 +393,7 @@ class _RoomLoginDialogState extends State<RoomLoginDialog> {
),
const SizedBox(height: 4),
Text(
repeater.pathLabel,
repeater.pathLabel(context.l10n),
style: const TextStyle(fontSize: 11, color: Colors.grey),
),
const SizedBox(height: 8),