Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
concrexit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
thalia
concrexit
Merge requests
!945
Fix push notifications categories texts
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix push notifications categories texts
push-category-texts
into
master
Overview
0
Commits
1
Changes
1
Merged
Ghost User
requested to merge
push-category-texts
into
master
6 years ago
Overview
0
Commits
1
Changes
1
Expand
Typos
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
a67a6102
1 commit,
6 years ago
1 file
+
10
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
website/pushnotifications/migrations/0012_add_descriptions_categories.py
+
10
−
10
Options
@@ -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
()
Loading