Skip to content

Commit

Permalink
DEV: update test locale strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Grubba27 committed Sep 4, 2024
1 parent 3d54fd1 commit 6987ca3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/locales/server.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ en:
added_and_removed: "Added %{added} and removed %{removed}"
added: "Added %{added}"
removed: "Removed %{removed}"

provider:

#######################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@ def raw
@raw =
if added_tags.present? && removed_tags.present?
I18n.t(
"topic_tag_changed.topic_tag_changed.added_and_removed",
"chat_integration.topic_tag_changed.added_and_removed",
added: tag_list_to_raw.call(added_tags),
removed: tag_list_to_raw.call(removed_tags),
)
elsif added_tags.present?
I18n.t(
"topic_tag_changed.topic_tag_changed.added",
"chat_integration.topic_tag_changed.added",
added: tag_list_to_raw.call(added_tags),
)
elsif removed_tags.present?
I18n.t(
"topic_tag_changed.topic_tag_changed.removed",
"chat_integration.topic_tag_changed.removed",
removed: tag_list_to_raw.call(removed_tags),
)
end
Expand Down

0 comments on commit 6987ca3

Please sign in to comment.