Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Ask
website
Commits
734a9031
Commit
734a9031
authored
Sep 22, 2012
by
Giuseppe Terrasi
Browse files
Options
Browse Files
Download
Plain Diff
sync with dev
parents
ae2c70d3
ad1a5116
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
00-FIXME
00-FIXME
+7
-0
forum/skins/light/templates/badge.html
forum/skins/light/templates/badge.html
+1
-1
forum/skins/light/templates/badges.html
forum/skins/light/templates/badges.html
+1
-1
forum/skins/light/templates/notifications/digest.html
forum/skins/light/templates/notifications/digest.html
+2
-2
forum/templatetags/extra_tags.py
forum/templatetags/extra_tags.py
+3
-3
No files found.
00-FIXME
View file @
734a9031
...
@@ -57,7 +57,14 @@ FIXME: proporre cambiamento upstream come da lp:~giuseppeterrasi/ubuntu-it-ask/l
...
@@ -57,7 +57,14 @@ FIXME: proporre cambiamento upstream come da lp:~giuseppeterrasi/ubuntu-it-ask/l
= forum/templatetags/extra_tags.py =
= forum/templatetags/extra_tags.py =
FIXME: proporre cambiamento upstream come da lp:~giuseppeterrasi/ubuntu-it-ask/l18ned
FIXME: proporre cambiamento upstream come da lp:~giuseppeterrasi/ubuntu-it-ask/l18ned
Revert parziale con modifica 64 ramo dev, attraverso questo merge [1]
[1] https://code.launchpad.net/~giuseppeterrasi/ubuntu-it-ask/revert-extra-tag/+merge/121304
= forum_modules/pgfulltext =
= forum_modules/pgfulltext =
sostituito "english" con "italian"
sostituito "english" con "italian"
= forum/skins/light/templates/notifications/digest.html =
File nel quale sono state apportate direttamente delle traduzioni.
Nello specifico le parole "nuove domande" e "elementi" invece di "posts"
forum/skins/light/templates/badge.html
View file @
734a9031
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
id=
"main-body"
style=
"width:100%;margin-bottom:20px"
>
<div
id=
"main-body"
style=
"width:100%;margin-bottom:20px"
>
<p>
<p>
<a
href=
"{{badge.get_absolute_url}}"
title=
"{{ badge.get_type_display }}
:
{{ badge.description }}"
class=
"medal"
><span
class=
"badge{{ badge.type }}"
>
●
</span>
{{ badge.name }}
</a>
{{ badge.description }}
<a
href=
"{{badge.get_absolute_url}}"
title=
"{{ badge.get_type_display }} {{ badge.description }}"
class=
"medal"
><span
class=
"badge{{ badge.type }}"
>
●
</span>
{{ badge.name }}
</a>
{{ badge.description }}
</p>
</p>
<div>
<div>
{% if badge.awarded_count %}
{% if badge.awarded_count %}
...
...
forum/skins/light/templates/badges.html
View file @
734a9031
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
{% endif %}
{% endif %}
</div>
</div>
<div
class=
"badgeListItem"
>
<div
class=
"badgeListItem"
>
<a
href=
"{{badge.get_absolute_url}}"
title=
"{{ badge.get_type_display }}
:
{{ badge.description }}"
class=
"medal"
><span
class=
"badge{{ badge.type }}"
>
●
</span>
{{ badge.name }}
</a><strong>
×
{{ badge.awarded_count|intcomma }}
</strong>
<a
href=
"{{badge.get_absolute_url}}"
title=
"{{ badge.get_type_display }} {{ badge.description }}"
class=
"medal"
><span
class=
"badge{{ badge.type }}"
>
●
</span>
{{ badge.name }}
</a><strong>
×
{{ badge.awarded_count|intcomma }}
</strong>
</div>
</div>
<p
class=
"badgeListDescription"
>
<p
class=
"badgeListDescription"
>
{{ badge.description }}
{{ badge.description }}
...
...
forum/skins/light/templates/notifications/digest.html
View file @
734a9031
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
{% htmlcontent notifications/base.html %}
{% htmlcontent notifications/base.html %}
{% declare %}
{% declare %}
new_questions_link = html.hyperlink(smart_unicode(app_url) + reverse('questions') + '?sort=' + _('latest'), smart_unicode(_('n
ew questions
')), style=a_style)
new_questions_link = html.hyperlink(smart_unicode(app_url) + reverse('questions') + '?sort=' + _('latest'), smart_unicode(_('n
uove domande
')), style=a_style)
user_questions = digest.get_for_user(recipient)
user_questions = digest.get_for_user(recipient)
subscribed_url = '%s%s' % (app_url, recipient.get_subscribed_url())
subscribed_url = '%s%s' % (app_url, recipient.get_subscribed_url())
subscriptions_link = html.hyperlink(subscribed_url, _('subscriptions'), style=a_style)
subscriptions_link = html.hyperlink(subscribed_url, _('subscriptions'), style=a_style)
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
{% if recipient.is_superuser %}
{% if recipient.is_superuser %}
{% declare %}
{% declare %}
flagged_url = html.hyperlink(smart_unicode(app_url + reverse('admin_flagged_posts')), smart_unicode(str(flagged_count) + ' ' + _('
posts
')), style=a_style)
flagged_url = html.hyperlink(smart_unicode(app_url + reverse('admin_flagged_posts')), smart_unicode(str(flagged_count) + ' ' + _('
elementi
')), style=a_style)
{% enddeclare %}
{% enddeclare %}
<p
style=
"{{ p_style }}"
>
<p
style=
"{{ p_style }}"
>
{% blocktrans %}
{% blocktrans %}
...
...
forum/templatetags/extra_tags.py
View file @
734a9031
...
@@ -167,11 +167,11 @@ def diff_date(date, limen=2):
...
@@ -167,11 +167,11 @@ def diff_date(date, limen=2):
elif
days
==
1
:
elif
days
==
1
:
return
_
(
'yesterday'
)
return
_
(
'yesterday'
)
elif
minutes
>=
60
:
elif
minutes
>=
60
:
return
ungettext
(
"%(hr)d hour ago"
,
"%(hr)d hours ago"
,
hours
)
%
{
'hr'
:
hours
}
return
ungettext
(
'%(hr)d '
+
_
(
"hour ago"
),
'%(hr)d '
+
_
(
"hours ago"
)
,
hours
)
%
{
'hr'
:
hours
}
elif
diff
.
seconds
>=
60
:
elif
diff
.
seconds
>=
60
:
return
ungettext
(
"%(min)d min ago"
,
"%(min)d mins ago"
,
minutes
)
%
{
'min'
:
minutes
}
return
ungettext
(
'%(min)d '
+
_
(
"min ago"
),
'%(min)d '
+
_
(
"mins ago"
)
,
minutes
)
%
{
'min'
:
minutes
}
else
:
else
:
return
ungettext
(
"%(sec)d sec ago"
,
"%(sec)d secs ago"
,
diff
.
seconds
)
%
{
'sec'
:
diff
.
seconds
}
return
ungettext
(
'%(sec)d '
+
_
(
"sec ago"
),
'%(sec)d '
+
_
(
"secs ago"
)
,
diff
.
seconds
)
%
{
'sec'
:
diff
.
seconds
}
@
register
.
simple_tag
@
register
.
simple_tag
def
media
(
url
):
def
media
(
url
):
...
...
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