mirror of https://github.com/zulip/zulip.git
hotspots: Tag strings for translation.
This commit is contained in:
parent
e78158bcc3
commit
77ca9e7eca
|
@ -1,29 +1,30 @@
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
from django.utils.translation import ugettext as _
|
||||||
|
|
||||||
from zerver.models import UserProfile, UserHotspot
|
from zerver.models import UserProfile, UserHotspot
|
||||||
|
|
||||||
from typing import List, Text, Dict
|
from typing import List, Text, Dict
|
||||||
|
|
||||||
ALL_HOTSPOTS = {
|
ALL_HOTSPOTS = {
|
||||||
# TODO: Tag these for translation once we've finalized the content.
|
|
||||||
'intro_reply': {
|
'intro_reply': {
|
||||||
'title': 'Reply to a message',
|
'title': _('Reply to a message'),
|
||||||
'description': 'Click anywhere on a message to reply.',
|
'description': _('Click anywhere on a message to reply.'),
|
||||||
},
|
},
|
||||||
'intro_streams': {
|
'intro_streams': {
|
||||||
'title': 'Catch up on a stream',
|
'title': _('Catch up on a stream'),
|
||||||
'description': 'Messages sent to a stream are seen by everyone subscribed '
|
'description': _('Messages sent to a stream are seen by everyone subscribed '
|
||||||
'to that stream. Try clicking on one of the stream links below.',
|
'to that stream. Try clicking on one of the stream links below.'),
|
||||||
},
|
},
|
||||||
'intro_topics': {
|
'intro_topics': {
|
||||||
'title': 'Topics',
|
'title': _('Topics'),
|
||||||
'description': 'Every message has a topic. Topics keep conversations '
|
'description': _('Every message has a topic. Topics keep conversations '
|
||||||
'easy to follow, and make it easy to reply to conversations that start '
|
'easy to follow, and make it easy to reply to conversations that start '
|
||||||
'while you are offline.',
|
'while you are offline.'),
|
||||||
},
|
},
|
||||||
'intro_compose': {
|
'intro_compose': {
|
||||||
'title': 'Compose',
|
'title': _('Compose'),
|
||||||
'description': 'Click here to start a new conversation. Pick a topic '
|
'description': _('Click here to start a new conversation. Pick a topic '
|
||||||
'(2-3 words is best), and give it a go!',
|
'(2-3 words is best), and give it a go!'),
|
||||||
},
|
},
|
||||||
} # type: Dict[str, Dict[str, Text]]
|
} # type: Dict[str, Dict[str, Text]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue