Add translation for none-placeholder
This commit is contained in:
parent
a182f05996
commit
ebaa7bfa87
|
@ -14,28 +14,28 @@
|
||||||
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.display_name")
|
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.display_name")
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.profile.display_name.blank?
|
- if current_user.profile.display_name.blank?
|
||||||
None set!
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
= current_user.profile.display_name
|
= current_user.profile.display_name
|
||||||
|
|
||||||
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.description")
|
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.description")
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.profile.description.blank?
|
- if current_user.profile.description.blank?
|
||||||
None set!
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
= current_user.profile.description
|
= current_user.profile.description
|
||||||
|
|
||||||
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.location")
|
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.location")
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.profile.location.blank?
|
- if current_user.profile.location.blank?
|
||||||
None set!
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
= current_user.profile.location
|
= current_user.profile.location
|
||||||
|
|
||||||
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.website")
|
%p.font-weight-bold.mb-0= t("activerecord.attributes.profile.website")
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.profile.website.blank?
|
- if current_user.profile.website.blank?
|
||||||
None set!
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
= current_user.profile.website
|
= current_user.profile.website
|
||||||
.col-md-6.col-sm-6.col-xs-12.mb-3
|
.col-md-6.col-sm-6.col-xs-12.mb-3
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
%p.font-weight-bold.mb-0= t("activerecord.attributes.user.locale")
|
%p.font-weight-bold.mb-0= t("activerecord.attributes.user.locale")
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.locale.blank?
|
- if current_user.locale.blank?
|
||||||
None set!
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
= current_user.locale
|
= current_user.locale
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
= localize(current_user.created_at)
|
= localize(current_user.created_at)
|
||||||
= " (#{time_ago_in_words(current_user.created_at)} ago)"
|
= " (#{time_ago_in_words(current_user.created_at)} ago)"
|
||||||
- else
|
- else
|
||||||
Not set
|
= t(".none")
|
||||||
|
|
||||||
%p.font-weight-bold.mb-0= t("activerecord.attributes.user.updated at")
|
%p.font-weight-bold.mb-0= t("activerecord.attributes.user.updated at")
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
|
@ -115,4 +115,4 @@
|
||||||
= localize(current_user.updated_at)
|
= localize(current_user.updated_at)
|
||||||
= " (#{time_ago_in_words(current_user.updated_at)} ago)"
|
= " (#{time_ago_in_words(current_user.updated_at)} ago)"
|
||||||
- else
|
- else
|
||||||
Not set
|
= t(".none")
|
||||||
|
|
|
@ -46,6 +46,7 @@ en:
|
||||||
data:
|
data:
|
||||||
heading: "Your Profile Data"
|
heading: "Your Profile Data"
|
||||||
body: "Everything we have about you! Really, not that much as you might expect."
|
body: "Everything we have about you! Really, not that much as you might expect."
|
||||||
|
none: "None set!"
|
||||||
section:
|
section:
|
||||||
general: "General"
|
general: "General"
|
||||||
profile: "Profile"
|
profile: "Profile"
|
||||||
|
|
Loading…
Reference in New Issue