REFACTOR: Remove updated strings from locale files and translation overrides

This commit is contained in:
Gerhard Schlager
2022-12-11 15:51:16 +01:00
committed by Gerhard Schlager
parent a13b7f36c8
commit 3eafa39aeb
47 changed files with 22 additions and 178 deletions

View File

@@ -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