Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diaspora
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Milan
diaspora
Commits
08e62966
Commit
08e62966
authored
14 years ago
by
Raphael
Browse files
Options
Downloads
Patches
Plain Diff
I18ning empty_messages
parent
45d7d54c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/aspects/_empty_messages.haml
+8
-6
8 additions, 6 deletions
app/views/aspects/_empty_messages.haml
config/locales/diaspora/en.yml
+7
-0
7 additions, 0 deletions
config/locales/diaspora/en.yml
with
15 additions
and
6 deletions
app/views/aspects/_empty_messages.haml
+
8
−
6
View file @
08e62966
...
...
@@ -4,15 +4,17 @@
#no_posts
.empty_message
{
:style
=>
(
"display:none"
unless
@posts
.
count
==
0
)}
.null_arrow
⇧
%h3
Nobody has said anything yet. Get the conversation started!
%h3
=
t
(
'.start_talking'
)
#no_friends
.empty_message
{
:style
=>
(
"display:none"
unless
@friends
.
count
==
0
)}
%h3
You have no friends in this aspect.
-
unless
(
@aspect
==
:all
)
||
(
@aspect
==
:public
)
%h4
=
link_to
"Add a friend"
,
"#add_request_pane"
,
:class
=>
"add_request_button"
-
if
(
@aspect
==
:all
)
||
(
@aspect
==
:public
)
%h3
=
t
(
'.nobody'
)
%h4
=
link_to
t
(
'.add_friend'
),
aspects_manage_path
%h4
=
link_to
t
(
'.invite'
),
aspects_manage_path
-
else
%h4
=
link_to
"Add a friend"
,
aspects_manage_path
%h3
=
t
(
'.nobody_in_aspect'
,
:aspect_name
=>
@aspect
.
name
)
%h4
=
link_to
t
(
'.add_friend_to'
,
:aspect_name
=>
@aspect
.
name
),
"#add_request_pane"
,
:class
=>
"add_request_button"
%h4
=
link_to
t
(
'.invite'
,
:aspect_name
=>
@aspect
.
name
),
"#invite_user_pane"
,
:class
=>
"invite_user_button"
,
:class
=>
"invite_user_button"
,
:title
=>
t
(
'.invite'
)
%h4
=
link_to
"Invite a friend to join Diaspora!"
,
"#invite_user_pane"
,
:class
=>
"invite_user_button"
,
:class
=>
"invite_user_button"
,
:title
=>
"Invite a friend"
This diff is collapsed.
Click to expand it.
config/locales/diaspora/en.yml
+
7
−
0
View file @
08e62966
...
...
@@ -70,6 +70,13 @@ en:
friends_albums
:
"
Friends
Albums"
your_albums
:
"
Your
Albums"
aspects
:
empty_messages
:
start_talking
:
"
Nobody
has
said
anything
yet.
Get
the
conversation
started!"
nobody
:
"
We
know
you
have
friends,
bring
them
to
Diaspora!"
nobody_in_aspect
:
"
Your
aspect
'%{aspect_name}'
is
empty."
add_friend
:
"
Add
a
friend"
add_friend_to
:
"
Add
a
someone
to
%{aspect_name}"
invite
:
"
Invite
a
someone
to
join
Diaspora!"
manage
:
add_a_new_aspect
:
"
Add
a
new
aspect"
add_a_new_friend
:
"
Add
a
new
friend"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment