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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
156 changed files with 25537 additions and 30968 deletions

View file

@ -33,7 +33,7 @@ class SharedLinkItem extends ConsumerWidget {
if (sharedLink.expiresAt != null) {
if (isExpired()) {
return Text(
"shared_link_expired",
"expired",
style: TextStyle(color: Colors.red[300]),
).tr();
}
@ -114,7 +114,7 @@ class SharedLinkItem extends ConsumerWidget {
builder: (BuildContext context) {
return ConfirmDialog(
title: "delete_shared_link_dialog_title",
content: "delete_shared_link_dialog_content",
content: "confirm_delete_shared_link",
onOk: () => ref
.read(sharedLinksStateProvider.notifier)
.deleteLink(sharedLink.id),
@ -178,10 +178,8 @@ class SharedLinkItem extends ConsumerWidget {
Widget buildBottomInfo() {
return Row(
children: [
if (sharedLink.allowUpload)
buildInfoChip("shared_link_info_chip_upload".tr()),
if (sharedLink.allowDownload)
buildInfoChip("shared_link_info_chip_download".tr()),
if (sharedLink.allowUpload) buildInfoChip("upload".tr()),
if (sharedLink.allowDownload) buildInfoChip("download".tr()),
if (sharedLink.showMetadata)
buildInfoChip("shared_link_info_chip_metadata".tr()),
],