Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/remove monitor names translation #488

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

tsubik
Copy link
Collaborator

@tsubik tsubik commented Apr 23, 2024

Monitor/Observer names should not be translated. I'm also removing organization attribute as looks like it is very obsolete.

PT: https://www.pivotaltracker.com/story/show/187407020

@tsubik tsubik requested a review from santostiago April 23, 2024 16:12
Copy link
Contributor

@santostiago santostiago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

FROM
observer_translations t
WHERE
o.id = t.observer_id and t.locale = 'en'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's a good idea to run a query first just to confirm they all have names in English (and to check if the names are the same in French).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already did that on production.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was only a small difference for one observer, and Sophie said to take English name for it.

@@ -10,7 +10,11 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2023_11_30_113839) do
ActiveRecord::Schema[7.1].define(version: 2024_04_23_144714) do
create_schema "tiger"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmm.. what is this for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dunno, new rails starts dumping this.

@tsubik tsubik force-pushed the feature/remove-monitor-names-translation branch from 52b4616 to 54d5c44 Compare April 30, 2024 11:08
@tsubik tsubik merged commit 1486342 into develop Apr 30, 2024
4 checks passed
@tsubik tsubik deleted the feature/remove-monitor-names-translation branch April 30, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants