Fix legacy locale references

This commit is contained in:
Andreas Nedbal 2022-07-31 22:55:03 +02:00
parent 77685d4229
commit 14221aea71
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ class ManifestsController < ApplicationController
categories: %w[social],
lang: I18n.locale,
shortcuts: [
webapp_shortcut(inbox_url, t("views.navigation.inbox"), "inbox")
webapp_shortcut(inbox_url, t("navigation.inbox"), "inbox")
],
icons: webapp_icons,
theme_color: theme_color,

View File

@ -50,4 +50,4 @@
.col-xs-12.col-sm-10.offset-sm-1.text-center
%small= t(".promote.join", app_title: APP_CONFIG["site_name"])
- else
%p= raw t(".required", signup: link_to(t("views.sessions.new"), new_user_registration_path))
%p= raw t(".required", signup: link_to(t("voc.register"), new_user_registration_path))

View File

@ -34,5 +34,5 @@
- if hidden
= user_screen_name question.user, author_identifier: identifier, url: false
- else
= raw t('views.answerbox.asked', user: user_screen_name(question.user, author_identifier: identifier), time: time_tooltip(question))
= raw t("answerbox.header.asked", user: user_screen_name(question.user, author_identifier: identifier), time: time_tooltip(question))
.answerbox__question-text= question_markdown question.content

View File

@ -26,7 +26,7 @@
%i.fa.fa-gears
= t("voc.view_in_rails_admin")
%h6.media-heading.text-muted.answerbox__question-user
= raw t('views.answerbox.asked', user: user_screen_name(q.user), time: time_tooltip(q))
= raw t('answerbox.header.asked', user: user_screen_name(q.user), time: time_tooltip(q))
- if q.answer_count > 1
·
%a{ href: question_path(q.user.screen_name, q.id) }