Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #228 from musmanmalik/usman/24294
Browse files Browse the repository at this point in the history
MCKIN-24294 PL support and translations added
  • Loading branch information
ihtram authored Sep 9, 2020
2 parents 302addf + 4528def commit 9d946a4
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 1 deletion.
Binary file not shown.
37 changes: 37 additions & 0 deletions edx_notifications/server/web/locale/pl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-11-06 18:50+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Polish\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "View unread"
msgstr "Zobacz nieprzeczytane"

msgid "View all"
msgstr "Zobacz wszystkie"

msgid "Mark as read"
msgstr "Oznacz jako przeczytane"

msgid "Hide"
msgstr "Ukryj"

msgid "You have no unread notifications."
msgstr "Nie masz żadnych nieprzeczytanych powiadomień"

msgid "Notification preferences"
msgstr "Ustawienia powiadomień"
Binary file not shown.
46 changes: 46 additions & 0 deletions edx_notifications/server/web/locale/pl/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-11-06 18:50+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Polish\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Announcements"
msgstr "Ogłoszenia"

msgid "Group Work"
msgstr "Group Work"

msgid "Leaderboards"
msgstr "Rankingi liderów"

msgid "Discussion"
msgstr "Dyskusja"

msgid "Other"
msgstr "Inne"

msgid "Today at "
msgstr "Dzisiaj "

msgid "You are now"
msgstr "Obecnie jesteś"

msgid "for"
msgstr "na"

msgid "in the cohort!"
msgstr "w grupie kursantów!"
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var NotificationPaneView = Backbone.View.extend({
'pt': 'pt-br',
'zh': 'zh-cn',
'ko': 'ko-kr',
'pl': 'pl',
};
var self = this;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var NotificationPreferencesView = Backbone.View.extend({
'pt': 'pt-br',
'zh': 'zh-cn',
'ko': 'ko-kr',
'pl': 'pl',
};
/* set up our collection */
this.collection = new NotificationPreferencesCollection();
Expand Down
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
('de', u'German'),
('fr', u'french'),
('nl', u'Dutch '),
('pl', u'Polskie'),
('pt', u'Português')
)
LOCALE_PATHS = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def load_requirements(*requirements_paths):

setup(
name='edx-notifications',
version='1.2.1',
version='1.2.3',
description='Notification subsystem for Open edX',
long_description=open('README.md').read(),
author='edX',
Expand Down

0 comments on commit 9d946a4

Please sign in to comment.