Sort translation keys alphabetically
The goal of this is to make the order more stable and reduce the risk of regressions when merge conflicts are resolved.
Change-Id: I4c51e3ee61f20e64c8291bc08ffb86c8be1ca281
diff --git a/client/src/components/Input.tsx b/client/src/components/Input.tsx
index c35bbab..d6529b4 100644
--- a/client/src/components/Input.tsx
+++ b/client/src/components/Input.tsx
@@ -288,23 +288,23 @@
() => [
{
Icon: GppMaybe,
- value: t('password_rule_one'),
+ value: t('password_rule_1'),
},
{
Icon: GppMaybe,
- value: t('password_rule_two'),
+ value: t('password_rule_2'),
},
{
Icon: GppMaybe,
- value: t('password_rule_three'),
+ value: t('password_rule_3'),
},
{
Icon: GppMaybe,
- value: t('password_rule_four'),
+ value: t('password_rule_4'),
},
{
Icon: GppMaybe,
- value: t('password_rule_five'),
+ value: t('password_rule_5'),
},
],
[t]
@@ -318,19 +318,19 @@
() => [
{
Icon: Warning,
- value: t('username_rule_one'),
+ value: t('username_rule_1'),
},
{
Icon: Warning,
- value: t('username_rule_two'),
+ value: t('username_rule_2'),
},
{
Icon: Warning,
- value: t('username_rule_three'),
+ value: t('username_rule_3'),
},
{
Icon: Warning,
- value: t('username_rule_four'),
+ value: t('username_rule_4'),
},
],
[t]
diff --git a/client/src/components/SendMessageForm.tsx b/client/src/components/SendMessageForm.tsx
index a94ab56..0859d17 100644
--- a/client/src/components/SendMessageForm.tsx
+++ b/client/src/components/SendMessageForm.tsx
@@ -102,11 +102,11 @@
translaters: [
() =>
// The user is chatting with themself
- t('message_input_placeholder_one', { member0: account?.getDisplayName() }),
- (interpolations) => t('message_input_placeholder_one', interpolations),
- (interpolations) => t('message_input_placeholder_two', interpolations),
- (interpolations) => t('message_input_placeholder_three', interpolations),
- (interpolations) => t('message_input_placeholder_four', interpolations),
+ t('message_input_placeholder_1', { member0: account?.getDisplayName() }),
+ (interpolations) => t('message_input_placeholder_1', interpolations),
+ (interpolations) => t('message_input_placeholder_2', interpolations),
+ (interpolations) => t('message_input_placeholder_3', interpolations),
+ (interpolations) => t('message_input_placeholder_4', interpolations),
(interpolations) => t('message_input_placeholder_more', interpolations),
],
};