UX: Change wording for 'regular' categories to 'normal' (#17134)

At some point in the past we decided to rename the 'regular' notification state of topics/categories to 'normal'. However, some UI copy was missed when the initial renaming was done so this commit changes the spots that were missed to the new name.
This commit is contained in:
Osama Sayegh
2022-06-20 06:49:33 +03:00
committed by GitHub
parent 986060a850
commit 5176c689e9
17 changed files with 42 additions and 19 deletions

View File

@@ -0,0 +1,19 @@
# frozen_string_literal: true
class RenameDefaultCategoriesRegularSetting < ActiveRecord::Migration[7.0]
def up
execute <<~SQL
UPDATE site_settings
SET name = 'default_categories_normal'
WHERE name = 'default_categories_regular'
SQL
end
def down
execute <<~SQL
UPDATE site_settings
SET name = 'default_categories_regular'
WHERE name = 'default_categories_normal'
SQL
end
end