mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: Remove updated strings from locale files and translation overrides
This commit is contained in:
committed by
Gerhard Schlager
parent
a13b7f36c8
commit
3eafa39aeb
@@ -0,0 +1,22 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RemoveUpdatedTranslationOverrides < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
execute <<~SQL
|
||||
DELETE
|
||||
FROM translation_overrides
|
||||
WHERE translation_key IN (
|
||||
'js.user.messages.read_more_group_pm_MF',
|
||||
'js.user.messages.read_more_personal_pm_MF',
|
||||
'js.topic.read_more_MF',
|
||||
'js.topic.bumped_at_title_MF',
|
||||
'js.topic.read_more_in_category',
|
||||
'js.topic.read_more'
|
||||
)
|
||||
SQL
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user