mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
(ru)(pronouns) rename any route to english name in consistency with keeping most routes in english
This commit is contained in:
parent
ce4a334a04
commit
671f09bfcd
@ -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: ~
|
||||
|
||||
|
9
migrations/087-ru-rename-any-route.sql
Normal file
9
migrations/087-ru-rename-any-route.sql
Normal 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
|
Loading…
x
Reference in New Issue
Block a user