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

@ -34,7 +34,7 @@ class ChangePasswordForm extends HookConsumerWidget {
alignment: WrapAlignment.start,
children: [
Text(
'common_change_password'.tr(),
'change_password'.tr(),
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold,
@ -110,7 +110,7 @@ class ChangePasswordForm extends HookConsumerWidget {
TextButton.icon(
icon: const Icon(Icons.arrow_back),
onPressed: () => AutoRouter.of(context).back(),
label: const Text('action_common_back').tr(),
label: const Text('back').tr(),
),
],
),
@ -193,7 +193,7 @@ class ChangePasswordButton extends ConsumerWidget {
),
onPressed: onPressed,
child: Text(
'common_change_password'.tr(),
'change_password'.tr(),
style: const TextStyle(fontSize: 14, fontWeight: FontWeight.bold),
),
);

View file

@ -29,7 +29,7 @@ class EmailInput extends StatelessWidget {
autofocus: true,
controller: controller,
decoration: InputDecoration(
labelText: 'login_form_label_email'.tr(),
labelText: 'email'.tr(),
border: const OutlineInputBorder(),
hintText: 'login_form_email_hint'.tr(),
hintStyle: const TextStyle(

View file

@ -19,7 +19,7 @@ class LoginButton extends ConsumerWidget {
onPressed: onPressed,
icon: const Icon(Icons.login_rounded),
label: const Text(
"login_form_button_text",
"login",
style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),
).tr(),
);

View file

@ -323,7 +323,7 @@ class LoginForm extends HookConsumerWidget {
isLoadingServer.value ? null : getServerAuthSettings,
icon: const Icon(Icons.arrow_forward_rounded),
label: const Text(
'login_form_next_button',
'next',
style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),
).tr(),
),
@ -430,7 +430,7 @@ class LoginForm extends HookConsumerWidget {
TextButton.icon(
icon: const Icon(Icons.arrow_back),
onPressed: () => serverEndpoint.value = null,
label: const Text('login_form_back_button_text').tr(),
label: const Text('back').tr(),
),
],
),

View file

@ -23,7 +23,7 @@ class PasswordInput extends HookConsumerWidget {
obscureText: !isPasswordVisible.value,
controller: controller,
decoration: InputDecoration(
labelText: 'login_form_label_password'.tr(),
labelText: 'password'.tr(),
border: const OutlineInputBorder(),
hintText: 'login_form_password_hint'.tr(),
hintStyle: const TextStyle(