1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

feat(mobile): use Weblate for i18n (2) (#17620)

* feat(mobile): use Weblate for i18n (2)

* remove old translation files

* dedup keys

* remove migration report

* chore

* remove localizely.yml
This commit is contained in:
Alex
2025-04-15 10:54:26 -05:00
committed by GitHub
parent 17e720440d
commit b2c903c000
156 changed files with 25537 additions and 30968 deletions

View File

@@ -89,7 +89,7 @@ class AddToAlbumBottomSheet extends HookConsumerWidget {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
'common_add_to_album'.tr(),
'add_to_album'.tr(),
style: context.textTheme.displayMedium,
),
TextButton.icon(

View File

@@ -37,7 +37,7 @@ class AddToAlbumSliverList extends HookConsumerWidget {
return Padding(
padding: const EdgeInsets.only(bottom: 8),
child: ExpansionTile(
title: Text('common_shared'.tr()),
title: Text('shared'.tr()),
tilePadding: const EdgeInsets.symmetric(horizontal: 10.0),
leading: const Icon(Icons.group),
children: [

View File

@@ -59,7 +59,7 @@ class AlbumThumbnailCard extends ConsumerWidget {
String? owner;
if (showOwner) {
if (album.ownerId == ref.read(currentUserProvider)?.id) {
owner = 'album_thumbnail_owned'.tr();
owner = 'owned'.tr();
} else if (album.ownerName != null) {
owner = 'album_thumbnail_shared_by'.tr(args: [album.ownerName!]);
}

View File

@@ -67,7 +67,7 @@ class AlbumTitleTextField extends ConsumerWidget {
borderSide: const BorderSide(color: Colors.transparent),
borderRadius: BorderRadius.circular(10),
),
hintText: 'share_add_title'.tr(),
hintText: 'add_a_title'.tr(),
hintStyle: context.themeData.inputDecorationTheme.hintStyle?.copyWith(
fontSize: 28,
fontWeight: FontWeight.bold,

View File

@@ -76,13 +76,13 @@ class AlbumViewerAppbar extends HookConsumerWidget
barrierDismissible: false, // user must tap button!
builder: (BuildContext context) {
return AlertDialog(
title: const Text('album_viewer_appbar_share_delete').tr(),
title: const Text('delete_album').tr(),
content: const Text('album_viewer_appbar_delete_confirm').tr(),
actions: <Widget>[
TextButton(
onPressed: () => context.pop('Cancel'),
child: Text(
'action_common_cancel',
'cancel',
style: TextStyle(
color: context.primaryColor,
fontWeight: FontWeight.bold,
@@ -95,7 +95,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
deleteAlbum();
},
child: Text(
'action_common_confirm',
'confirm',
style: TextStyle(
fontWeight: FontWeight.bold,
color: context.colorScheme.error,
@@ -131,7 +131,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
? ListTile(
leading: const Icon(Icons.delete_forever_rounded),
title: const Text(
'album_viewer_appbar_share_delete',
'delete_album',
style: TextStyle(fontWeight: FontWeight.w500),
).tr(),
onTap: onDeleteAlbumPressed,
@@ -203,7 +203,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
leading: const Icon(Icons.settings_rounded),
onTap: () => context.navigateTo(const AlbumOptionsRoute()),
title: const Text(
"translated_text_options",
"options",
style: TextStyle(fontWeight: FontWeight.w500),
).tr(),
),
@@ -220,7 +220,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
}
},
title: const Text(
"share_add_photos",
"add_photos",
style: TextStyle(fontWeight: FontWeight.w500),
).tr(),
),

View File

@@ -88,7 +88,7 @@ class AlbumViewerEditableTitle extends HookConsumerWidget {
focusColor: Colors.grey[300],
fillColor: context.scaffoldBackgroundColor,
filled: titleFocusNode.hasFocus,
hintText: 'share_add_title'.tr(),
hintText: 'add_a_title'.tr(),
hintStyle: context.themeData.inputDecorationTheme.hintStyle?.copyWith(
fontSize: 28,
),