Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
e795e103
Commit
e795e103
authored
Sep 26, 2018
by
Luko van der Maas
Browse files
Merge branch 'push-category-texts' into 'master'
Fix push notifications categories texts See merge request
!945
parents
c77b1407
a67a6102
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/pushnotifications/migrations/0012_add_descriptions_categories.py
View file @
e795e103
...
...
@@ -9,21 +9,21 @@ def forwards_func(apps, schema_editor):
cat
=
category
.
objects
.
using
(
db_alias
).
get
(
key
=
'general'
)
cat
.
description_en
=
"General association oriented notifications"
cat
.
description_nl
=
"Algemene veren
e
ging gerelateerde notificaties"
cat
.
description_nl
=
"Algemene veren
i
ging gerelateerde notificaties"
cat
.
save
()
cat
=
category
.
objects
.
using
(
db_alias
).
get
(
key
=
'pizza'
)
cat
.
description_en
=
"Notifications related to the ordering and "
\
"eating pizza
'
s"
cat
.
description_nl
=
"Notificaties die gerelateerd zijn aan het "
\
"bestellen en eten van pizza's"
cat
.
description_en
=
(
"Notifications related to the ordering and "
"eating pizzas"
)
cat
.
description_nl
=
(
"Notificaties die gerelateerd zijn aan het "
"bestellen en eten van pizza's"
)
cat
.
save
()
cat
=
category
.
objects
.
using
(
db_alias
).
get
(
key
=
'event'
)
cat
.
description_en
=
"Notifications related to registering and "
\
"events in general"
cat
.
description_nl
=
"Notificaties gerelateerd aan het registreren van "
\
"evenementen en evenementen in het algemeneen"
cat
.
description_en
=
(
"Notifications related to registering and "
"events in general"
)
cat
.
description_nl
=
(
"Notificaties gerelateerd aan het registreren van "
"evenementen en evenementen in het algemeneen"
)
cat
.
save
()
cat
=
category
.
objects
.
using
(
db_alias
).
get
(
key
=
'newsletter'
)
...
...
@@ -37,7 +37,7 @@ def forwards_func(apps, schema_editor):
cat
.
save
()
cat
=
category
.
objects
.
using
(
db_alias
).
get
(
key
=
'photo'
)
cat
.
description_en
=
"Notifications about when new photo
'
s are uploaded"
cat
.
description_en
=
"Notifications about when new photos are uploaded"
cat
.
description_nl
=
"Notificaties voor wanneer foto's zijn geupload"
cat
.
save
()
...
...
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