Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
55b58f0f
Commit
55b58f0f
authored
Apr 15, 2011
by
Siebrand Mazeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update translator documentation.
parent
44bdc2dd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
20 deletions
+19
-20
actions/editpeopletag.php
actions/editpeopletag.php
+7
-7
actions/peopletagged.php
actions/peopletagged.php
+5
-5
actions/peopletagsforuser.php
actions/peopletagsforuser.php
+2
-2
actions/peopletagsubscriptions.php
actions/peopletagsubscriptions.php
+3
-3
actions/register.php
actions/register.php
+0
-1
actions/subscriptions.php
actions/subscriptions.php
+2
-2
No files found.
actions/editpeopletag.php
View file @
55b58f0f
...
...
@@ -47,12 +47,12 @@ class EditpeopletagAction extends OwnerDesignAction
function
title
()
{
if
(
$_SERVER
[
'REQUEST_METHOD'
]
==
'POST'
&&
$this
->
boolean
(
'delete'
))
{
// TRANS: Title for edit
people tag
page after deleting a tag.
// TRANS: %s is a
tag
.
// TRANS: Title for edit
list
page after deleting a tag.
// TRANS: %s is a
list
.
return
sprintf
(
_
(
'Delete %s list'
),
$this
->
peopletag
->
tag
);
}
// TRANS: Title for edit
people tag
page.
// TRANS: %s is a
tag
.
// TRANS: Title for edit
list
page.
// TRANS: %s is a
list
.
return
sprintf
(
_
(
'Edit list %s'
),
$this
->
peopletag
->
tag
);
}
...
...
@@ -105,7 +105,7 @@ class EditpeopletagAction extends OwnerDesignAction
}
if
(
!
$this
->
peopletag
)
{
// TRANS: Client error displayed when referring to a non-exsting
people tag
.
// TRANS: Client error displayed when referring to a non-exsting
list
.
$this
->
clientError
(
_
(
'No such list.'
),
404
);
return
false
;
}
...
...
@@ -215,7 +215,7 @@ class EditpeopletagAction extends OwnerDesignAction
$this
->
element
(
'p'
,
'instructions'
,
$this
->
confirm
);
}
else
{
$this
->
element
(
'p'
,
'instructions'
,
// TRANS: Form instruction for edit
people tag
form.
// TRANS: Form instruction for edit
list
form.
_
(
'Use this form to edit the list.'
));
}
}
...
...
@@ -293,7 +293,7 @@ class EditpeopletagAction extends OwnerDesignAction
if
(
!
$result
)
{
common_log_db_error
(
$this
->
group
,
'UPDATE'
,
__FILE__
);
// TRANS: TRANS: Server error displayed when updating a
people tag
fails.
// TRANS: TRANS: Server error displayed when updating a
list
fails.
$this
->
serverError
(
_
(
'Could not update list.'
));
}
...
...
actions/peopletagged.php
View file @
55b58f0f
...
...
@@ -92,7 +92,7 @@ class PeopletaggedAction extends OwnerDesignAction
$this
->
peopletag
=
Profile_list
::
pkeyGet
(
array
(
'tagger'
=>
$user
->
id
,
'tag'
=>
$tag
));
if
(
!
$this
->
peopletag
)
{
// TRANS: Client error displayed when referring to
non-existing people tag
.
// TRANS: Client error displayed when referring to
a non-existing list
.
$this
->
clientError
(
_
(
'No such list.'
),
404
);
return
false
;
}
...
...
@@ -103,13 +103,13 @@ class PeopletaggedAction extends OwnerDesignAction
function
title
()
{
if
(
$this
->
page
==
1
)
{
// TRANS: Title for list of people
tagged by the user with a tag
.
// TRANS: %1$s is a
tag
, %2$s is a username.
// TRANS: Title for list of people
listed by the user
.
// TRANS: %1$s is a
list
, %2$s is a username.
return
sprintf
(
_
(
'People listed in %1$s by %2$s'
),
$this
->
peopletag
->
tag
,
$this
->
tagger
->
nickname
);
}
else
{
// TRANS: Title for list of people
tagged by the user with a tag
.
// TRANS: %1$s is a
tag
, %2$s is a username, %2$s is a page number.
// TRANS: Title for list of people
listed by the user
.
// TRANS: %1$s is a
list
, %2$s is a username, %2$s is a page number.
return
sprintf
(
_
(
'People listed in %1$s by %2$s, page %3$d'
),
$this
->
peopletag
->
tag
,
$this
->
user
->
nickname
,
$this
->
page
);
...
...
actions/peopletagsforuser.php
View file @
55b58f0f
...
...
@@ -102,7 +102,7 @@ class PeopletagsforuserAction extends OwnerDesignAction
function
showAnonymousMessage
()
{
$notice
=
// TRANS: Message displayed for anonymous users on page that displays
people tag
s for a user.
// TRANS: Message displayed for anonymous users on page that displays
list
s for a user.
// TRANS: This message contains Markdown links in the form [description](links).
// TRANS: %s is a tagger nickname.
sprintf
(
_
(
'These are lists for **%s**. '
.
...
...
@@ -138,7 +138,7 @@ class PeopletagsforuserAction extends OwnerDesignAction
function
showEmptyListMessage
()
{
// TRANS: Message displayed on page that displays
people tag
s for a user when there are none.
// TRANS: Message displayed on page that displays
list
s for a user when there are none.
// TRANS: This message contains Markdown links in the form [description](links).
// TRANS: %s is a tagger nickname.
$message
=
sprintf
(
_
(
'%s has not been [listed](%%%%doc.lists%%%%) by anyone yet.'
),
$this
->
tagged
->
nickname
);
...
...
actions/peopletagsubscriptions.php
View file @
55b58f0f
...
...
@@ -46,11 +46,11 @@ class PeopletagsubscriptionsAction extends OwnerDesignAction
function
title
()
{
if
(
$this
->
page
==
1
)
{
// TRANS: Title for page that displays
people tag
s subscribed to by a user.
// TRANS: Title for page that displays
list
s subscribed to by a user.
// TRANS: %s is a profile nickname.
return
sprintf
(
_
(
'Lists subscribed to by %s'
),
$this
->
profile
->
nickname
);
}
else
{
// TRANS: Title for page that displays
people tag
s subscribed to by a user.
// TRANS: Title for page that displays
list
s subscribed to by a user.
// TRANS: %1$s is a profile nickname, %2$d is a page number.
return
sprintf
(
_
(
'Lists subscribed to by %1$s, page %2$d'
),
$this
->
profile
->
nickname
,
$this
->
page
);
}
...
...
@@ -104,7 +104,7 @@ class PeopletagsubscriptionsAction extends OwnerDesignAction
function
showAnonymousMessage
()
{
$notice
=
// TRANS: Message displayed for anonymous users on page that displays
people tag
s subscribed to by a user.
// TRANS: Message displayed for anonymous users on page that displays
list
s subscribed to by a user.
// TRANS: This message contains Markdown links in the form [description](links).
// TRANS: %s is a profile nickname.
sprintf
(
_
(
'These are lists subscribed to by **%s**. '
.
...
...
actions/register.php
View file @
55b58f0f
...
...
@@ -606,7 +606,6 @@ class RegisterAction extends Action
function
showSuccessContent
()
{
if
(
Event
::
handle
(
'onStartRegisterSuccess'
,
array
(
$this
)))
{
$nickname
=
$this
->
arg
(
'nickname'
);
$profileurl
=
common_local_url
(
'showstream'
,
...
...
actions/subscriptions.php
View file @
55b58f0f
...
...
@@ -227,8 +227,8 @@ class SubscriptionsListItem extends SubscriptionListItem
}
$this
->
out
->
element
(
'input'
,
$attrs
);
// TRANS: Checkbox label for enabling
Jabber
messages for a profile in a subscriptions list.
$this
->
out
->
element
(
'label'
,
array
(
'for'
=>
'jabber-'
.
$this
->
profile
->
id
),
_
(
'IM'
));
// TRANS: Checkbox label for enabling
IM
messages for a profile in a subscriptions list.
$this
->
out
->
element
(
'label'
,
array
(
'for'
=>
'jabber-'
.
$this
->
profile
->
id
),
_
m
(
'LABEL'
,
'IM'
));
}
else
{
$this
->
out
->
hidden
(
'jabber'
,
$sub
->
jabber
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment