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

i18nification #549

Merged
merged 6 commits into from
Jun 12, 2024
Merged

i18nification #549

merged 6 commits into from
Jun 12, 2024

Conversation

simkim
Copy link
Contributor

@simkim simkim commented May 30, 2024

implement #546

@simkim
Copy link
Contributor Author

simkim commented May 30, 2024

40% of work done

@simkim simkim changed the title WIP: i18nification i18nification Jun 5, 2024
@simkim simkim marked this pull request as ready for review June 5, 2024 08:31
@simkim
Copy link
Contributor Author

simkim commented Jun 5, 2024

@andrew can you review the changes. I translated the majority of the code except usage which is not directly linked from front page. If it's ok for you, it can be merged

Copy link
Member

@andrew andrew left a comment

Choose a reason for hiding this comment

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

Just one small change otherwise LGTM

@@ -7,7 +7,7 @@ class Owner < ApplicationRecord
scope :created_after, ->(date) { where('created_at > ?', date) }
scope :updated_after, ->(date) { where('updated_at > ?', date) }

scope :kind, ->(kind) { where(kind: kind) }
enum kind: { user: 'user', organization: 'organization' }
Copy link
Member

Choose a reason for hiding this comment

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

We still need the scope of kind here for the owners controller

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reverted the removal of the kind scope

@simkim simkim requested a review from andrew June 12, 2024 08:15
@andrew andrew merged commit 9f81263 into ecosyste-ms:main Jun 12, 2024
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.

2 participants