(ru)(pronouns) rename any route to english name in consistency with keeping most routes in english

This commit is contained in:
Valentyne Stigloher 2025-02-09 12:45:10 +01:00
parent ce4a334a04
commit 671f09bfcd
2 changed files with 11 additions and 1 deletions

View File

@ -21,7 +21,7 @@ pronouns:
- 'definitive'
route: 'pronouns'
default: 'он'
any: 'любые'
any: 'any'
plurals: true
honorifics: false
generator:
@ -367,6 +367,7 @@ census:
redirects:
- { from: '^/dictionary/terminology', to: '/terminology' }
- { from: '^/%D0%BB%D1%8E%D0%B1%D1%8B%D0%B5', to: '/any' }
api: ~

View File

@ -0,0 +1,9 @@
-- Up
UPDATE profiles
SET pronouns = REPLACE(REPLACE(pronouns, 'любые', 'any'),
-- urlencoded "любые"
'%\%D0\%BB\%D1\%8E\%D0\%B1\%D1\%8B\%D0\%B5%', 'any')
WHERE locale = 'ru';
-- Down