From c7ebe128756f9dab0a82685bda000e2518051fee Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sun, 6 May 2018 22:19:38 -0400 Subject: [PATCH] Configure GetTogether to export translations template file. --- get_together/locale/django.pot | 490 +++++++++++++++++++++++++++++++++ get_together/settings.py | 6 + 2 files changed, 496 insertions(+) create mode 100644 get_together/locale/django.pot diff --git a/get_together/locale/django.pot b/get_together/locale/django.pot new file mode 100644 index 0000000..274674f --- /dev/null +++ b/get_together/locale/django.pot @@ -0,0 +1,490 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-05-03 13:11+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: accounts/models.py:16 +msgid "Account Name" +msgstr "" + +#: accounts/models.py:81 +msgid "Anonymous User" +msgstr "" + +#: accounts/models.py:93 +msgid "Badge Name" +msgstr "" + +#: accounts/models.py:94 +msgid "Badge Image" +msgstr "" + +#: events/forms.py:91 +msgid "AM" +msgstr "" + +#: events/forms.py:91 +msgid "PM" +msgstr "" + +#: events/forms.py:280 events/forms.py:305 +msgid "Send me notification emails" +msgstr "" + +#: events/forms.py:310 +msgid "Distance(km)" +msgstr "" + +#: events/models/events.py:26 +msgid "Name of the Place" +msgstr "" + +#: events/models/events.py:27 +msgid "City" +msgstr "" + +#: events/models/events.py:28 +msgid "Address with Street and Number" +msgstr "" + +#: events/models/events.py:29 events/models/locale.py:97 +msgid "Longitude in Degrees East" +msgstr "" + +#: events/models/events.py:30 events/models/locale.py:98 +msgid "Latitude in Degrees North" +msgstr "" + +#: events/models/events.py:31 events/models/profiles.py:25 +msgid "Timezone" +msgstr "" + +#: events/models/events.py:32 +msgid "URL for the Place Homepage" +msgstr "" + +#: events/models/events.py:32 +msgid "URL of the Place" +msgstr "" + +#: events/models/events.py:33 +msgid "Place photo" +msgstr "" + +#: events/models/events.py:56 events/models/events.py:259 +#: events/models/events.py:299 +msgid "Event Name" +msgstr "" + +#: events/models/events.py:61 events/models/events.py:263 +msgid "Date and time that the event starts" +msgstr "" + +#: events/models/events.py:61 events/models/events.py:263 +#: events/models/events.py:305 events/models/speakers.py:94 +msgid "Start Time" +msgstr "" + +#: events/models/events.py:62 events/models/events.py:264 +msgid "Date and time that the event ends" +msgstr "" + +#: events/models/events.py:62 events/models/events.py:264 +#: events/models/events.py:306 +msgid "End Time" +msgstr "" + +#: events/models/events.py:64 events/models/events.py:265 +#: events/models/events.py:308 +msgid "Summary of the Event" +msgstr "" + +#: events/models/events.py:68 events/models/events.py:272 +#: events/models/profiles.py:208 events/models/speakers.py:61 +msgid "Website" +msgstr "" + +#: events/models/events.py:68 events/models/events.py:272 +msgid "URL for the event" +msgstr "" + +#: events/models/events.py:69 events/models/events.py:273 +msgid "Announcement" +msgstr "" + +#: events/models/events.py:69 events/models/events.py:273 +msgid "URL for the announcement" +msgstr "" + +#: events/models/events.py:72 events/models/events.py:276 +#: events/models/events.py:313 +msgid "the date and time when the event was created" +msgstr "" + +#: events/models/events.py:74 events/models/events.py:280 +#: events/models/events.py:315 +msgid "Keyword Tags" +msgstr "" + +#: events/models/events.py:198 events/models/profiles.py:266 +msgid "Normal" +msgstr "" + +#: events/models/events.py:199 +msgid "Crew" +msgstr "" + +#: events/models/events.py:200 +msgid "Host" +msgstr "" + +#: events/models/events.py:206 +msgid "No" +msgstr "" + +#: events/models/events.py:207 +msgid "Maybe" +msgstr "" + +#: events/models/events.py:208 +msgid "Yes" +msgstr "" + +#: events/models/events.py:212 +msgid "Role" +msgstr "" + +#: events/models/events.py:213 +msgid "Attending?" +msgstr "" + +#: events/models/events.py:232 +msgid "Photo" +msgstr "" + +#: events/models/events.py:244 +msgid "Removed" +msgstr "" + +#: events/models/events.py:245 +msgid "Pending" +msgstr "" + +#: events/models/events.py:246 +msgid "Approved" +msgstr "" + +#: events/models/events.py:304 +msgid "Date and time of the last created instance in this series" +msgstr "" + +#: events/models/events.py:305 +msgid "Local time that the event starts" +msgstr "" + +#: events/models/events.py:306 +msgid "Local time that the event ends" +msgstr "" + +#: events/models/locale.py:11 +msgid "Language" +msgstr "" + +#: events/models/locale.py:12 +msgid "Language Code" +msgstr "" + +#: events/models/locale.py:19 events/models/locale.py:29 +#: events/models/locale.py:59 events/models/locale.py:94 +msgid "Name" +msgstr "" + +#: events/models/locale.py:30 +msgid "Country Code" +msgstr "" + +#: events/models/locale.py:60 +msgid "Admin Code" +msgstr "" + +#: events/models/locale.py:92 +msgid "Cities" +msgstr "" + +#: events/models/locale.py:96 events/models/profiles.py:220 +#: events/models/search.py:25 +msgid "Default Timezone" +msgstr "" + +#: events/models/locale.py:96 events/models/profiles.py:220 +#: events/models/search.py:25 +msgid "The most commonly used timezone for this Team." +msgstr "" + +#: events/models/profiles.py:24 +msgid "Real Name" +msgstr "" + +#: events/models/profiles.py:26 events/models/speakers.py:20 +msgid "Photo Image" +msgstr "" + +#: events/models/profiles.py:31 +msgid "Home city" +msgstr "" + +#: events/models/profiles.py:33 +msgid "Website URL" +msgstr "" + +#: events/models/profiles.py:34 +msgid "Twitter Name" +msgstr "" + +#: events/models/profiles.py:35 +msgid "Facebook URL" +msgstr "" + +#: events/models/profiles.py:37 +msgid "Send notification emails" +msgstr "" + +#: events/models/profiles.py:199 +msgid "Team Name" +msgstr "" + +#: events/models/profiles.py:209 +msgid "Email Address" +msgstr "" + +#: events/models/profiles.py:211 +msgid "Date Created" +msgstr "" + +#: events/models/profiles.py:217 +msgid "Team Photo" +msgstr "" + +#: events/models/profiles.py:219 +msgid "Active Team" +msgstr "" + +#: events/models/profiles.py:267 +msgid "Moderator" +msgstr "" + +#: events/models/profiles.py:268 +msgid "Administrator" +msgstr "" + +#: events/models/profiles.py:272 +msgid "Member Role" +msgstr "" + +#: events/models/speakers.py:26 +msgid "Biography" +msgstr "" + +#: events/models/speakers.py:50 +msgid "Presentation" +msgstr "" + +#: events/models/speakers.py:51 +msgid "Workshop" +msgstr "" + +#: events/models/speakers.py:52 +msgid "Panel" +msgstr "" + +#: events/models/speakers.py:53 +msgid "Roundtable" +msgstr "" + +#: events/models/speakers.py:54 +msgid "Q & A" +msgstr "" + +#: events/models/speakers.py:55 +msgid "Demonstration" +msgstr "" + +#: events/models/speakers.py:57 +msgid "Speaker Bio" +msgstr "" + +#: events/models/speakers.py:60 +msgid "Type" +msgstr "" + +#: events/models/speakers.py:87 +msgid "Declined" +msgstr "" + +#: events/models/speakers.py:88 +msgid "Proposed" +msgstr "" + +#: events/models/speakers.py:89 +msgid "Accepted" +msgstr "" + +#: events/views.py:96 +msgid "You must be logged in to join a team." +msgstr "" + +#: events/views.py:100 +msgid "You are already a member of this team." +msgstr "" + +#: events/views.py:103 +msgid "Welcome to the team!" +msgstr "" + +#: events/views.py:108 +msgid "You must be logged in to leave a team." +msgstr "" + +#: events/views.py:112 +msgid "You are not a member of this team." +msgstr "" + +#: events/views.py:115 +msgid "You are no longer on this team." +msgstr "" + +#: events/views.py:121 +msgid "You must be logged in to say you're attending." +msgstr "" + +#: events/views.py:124 +msgid "You are already attending this event." +msgstr "" + +#: events/views.py:127 +msgid "We'll see you there!" +msgstr "" + +#: events/views.py:133 +msgid "You must be logged in to comment." +msgstr "" + +#: get_together/settings.py:146 +msgid "English" +msgstr "" + +#: get_together/settings.py:147 +msgid "German" +msgstr "" + +#: get_together/settings.py:148 +msgid "Spanish" +msgstr "" + +#: get_together/settings.py:149 +msgid "French" +msgstr "" + +#: get_together/settings.py:150 +msgid "Indonesian" +msgstr "" + +#: get_together/settings.py:151 +msgid "Portuguese (Brazil)" +msgstr "" + +#: get_together/views/__init__.py:111 +msgid "" +"There are no teams or events yet in your area, be the first to start one!" +msgstr "" + +#: get_together/views/events.py:96 +msgid "You can not create events for this team." +msgstr "" + +#: get_together/views/events.py:126 +msgid "Your event has been scheduled! Next, find a place for your event." +msgstr "" + +#: get_together/views/events.py:141 get_together/views/events.py:170 +#: get_together/views/events.py:205 get_together/views/events.py:238 +#: get_together/views/events.py:268 get_together/views/events.py:301 +#: get_together/views/events.py:331 +msgid "You can not make changes to this event." +msgstr "" + +#: get_together/views/events.py:372 +msgid "You can not create events for this org." +msgstr "" + +#: get_together/views/new_team.py:61 +msgid "Your new team is ready to go! Now it's time to plan your first event." +msgstr "" + +#: get_together/views/new_user.py:129 +msgid "Your setup is complete, welcome to GetTogether!" +msgstr "" + +#: get_together/views/new_user.py:161 +msgid "Your email address has been confirmed." +msgstr "" + +#: get_together/views/speakers.py:94 +msgid "You can not make changes to this speaker bio." +msgstr "" + +#: get_together/views/speakers.py:130 +msgid "You must create a new Speaker profile before you can add a talk" +msgstr "" + +#: get_together/views/speakers.py:170 get_together/views/speakers.py:198 +msgid "You can not make changes to this talk." +msgstr "" + +#: get_together/views/speakers.py:227 get_together/views/speakers.py:263 +msgid "You can not manage talks for this event." +msgstr "" + +#: get_together/views/speakers.py:255 +msgid "Your talk has been submitted to the event organizer." +msgstr "" + +#: get_together/views/speakers.py:266 +msgid "" +"Upgrade this team to a Premium account to use " +"this feature." +msgstr "" + +#: get_together/views/teams.py:81 get_together/views/teams.py:111 +msgid "You can not make changes to this team." +msgstr "" + +#: get_together/views/user.py:29 +msgid "You are already logged in." +msgstr "" + +#: get_together/views/user.py:79 +msgid "You must be logged in to edit your profile." +msgstr "" + +#: get_together/views/user.py:106 +msgid "Your email address has been removed." +msgstr "" + +#: get_together/views/user.py:110 +msgid "Your email address has changed, please confirm your new address." +msgstr "" diff --git a/get_together/settings.py b/get_together/settings.py index 5a2a50d..0e61c6a 100644 --- a/get_together/settings.py +++ b/get_together/settings.py @@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os +from django.utils.translation import gettext_lazy as _ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -72,6 +73,7 @@ AUTHENTICATION_BACKENDS = ( MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', @@ -141,6 +143,10 @@ AUTH_PASSWORD_VALIDATORS = [ LANGUAGE_CODE = 'en-us' +LOCALE_PATHS = [ + './get_together/locale', +] + USE_TZ = True TIME_ZONE = 'UTC'