Fix legacy locale references
This commit is contained in:
parent
77685d4229
commit
14221aea71
|
@ -13,7 +13,7 @@ class ManifestsController < ApplicationController
|
||||||
categories: %w[social],
|
categories: %w[social],
|
||||||
lang: I18n.locale,
|
lang: I18n.locale,
|
||||||
shortcuts: [
|
shortcuts: [
|
||||||
webapp_shortcut(inbox_url, t("views.navigation.inbox"), "inbox")
|
webapp_shortcut(inbox_url, t("navigation.inbox"), "inbox")
|
||||||
],
|
],
|
||||||
icons: webapp_icons,
|
icons: webapp_icons,
|
||||||
theme_color: theme_color,
|
theme_color: theme_color,
|
||||||
|
|
|
@ -50,4 +50,4 @@
|
||||||
.col-xs-12.col-sm-10.offset-sm-1.text-center
|
.col-xs-12.col-sm-10.offset-sm-1.text-center
|
||||||
%small= t(".promote.join", app_title: APP_CONFIG["site_name"])
|
%small= t(".promote.join", app_title: APP_CONFIG["site_name"])
|
||||||
- else
|
- 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))
|
||||||
|
|
|
@ -34,5 +34,5 @@
|
||||||
- if hidden
|
- if hidden
|
||||||
= user_screen_name question.user, author_identifier: identifier, url: false
|
= user_screen_name question.user, author_identifier: identifier, url: false
|
||||||
- else
|
- 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
|
.answerbox__question-text= question_markdown question.content
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
%i.fa.fa-gears
|
%i.fa.fa-gears
|
||||||
= t("voc.view_in_rails_admin")
|
= t("voc.view_in_rails_admin")
|
||||||
%h6.media-heading.text-muted.answerbox__question-user
|
%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
|
- if q.answer_count > 1
|
||||||
·
|
·
|
||||||
%a{ href: question_path(q.user.screen_name, q.id) }
|
%a{ href: question_path(q.user.screen_name, q.id) }
|
||||||
|
|
Loading…
Reference in New Issue