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

i18n: Translate core Create and Manage #15112

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/listings/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

<nav class="flex items-center" aria-label="Listings">
<ul class="list-none flex">
<li> <a href="<%= new_listing_path %>" class="crayons-btn crayons-btn--secondary">Create</a></li>
<li> <a href="<%= listings_dashboard_path %>" class="crayons-btn crayons-btn--secondary ml-2">Manage</a></li>
<li> <a href="<%= new_listing_path %>" class="crayons-btn crayons-btn--secondary"><%= t("core.create") %></a></li>
<li> <a href="<%= listings_dashboard_path %>" class="crayons-btn crayons-btn--secondary ml-2"><%= t("core.manage") %></a></li>
</ul>
</nav>
</div>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ en:
comments: Comments
community_name_is_great: "%{community_name} is great!"
copy_link: Copy link
create: Create
create_account: Create account
create_post: Create Post
dashboard: Dashboard
Expand All @@ -36,6 +37,7 @@ en:
loading: loading...
location: Location
log_in: Log in
manage: Manage
moderator_center: Moderator Center
month: Month
more_from: More from
Expand Down
2 changes: 2 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fr:
comments: Commentaires
community_name_is_great: "%{community_name} est super"
copy_link: Copier le lien
create: Créer
create_account: Créer un profil
create_post: Créer une publication
dashboard: Tableau de bord
Expand All @@ -36,6 +37,7 @@ fr:
loading: Chargement en cours...
location: Lieu
log_in: Se connecter
manage: Gérer
moderator_center: Centre de modération
month: Mois
more_from: Plus de la part de
Expand Down