Skip to content

Commit

Permalink
Merge pull request #841 from dhis2/feat/hide-biweekly-periods
Browse files Browse the repository at this point in the history
feat: hide biweekly periods (DHIS2-11165)
  • Loading branch information
janhenrikoverland authored May 26, 2021
2 parents 45b8e81 + 67842b0 commit cd9db5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2021-03-25T22:14:19.666Z\n"
"PO-Revision-Date: 2021-03-25T22:14:19.666Z\n"
"POT-Creation-Date: 2021-05-19T08:58:48.266Z\n"
"PO-Revision-Date: 2021-05-19T08:58:48.266Z\n"

msgid "Failed to load: {{error}}"
msgstr ""
Expand All @@ -29,9 +29,6 @@ msgstr ""
msgid "Upload image"
msgstr ""

msgid "File uploaded successfully"
msgstr ""

msgid "Error uploading file: {{error}}"
msgstr ""

Expand Down Expand Up @@ -437,6 +434,9 @@ msgstr ""
msgid "Hide weekly periods"
msgstr ""

msgid "Hide biweekly periods"
msgstr ""

msgid "Hide monthly periods"
msgstr ""

Expand Down
1 change: 1 addition & 0 deletions src/settingsCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const categories = {
'keyAnalysisRelativePeriod',
'keyHideDailyPeriods',
'keyHideWeeklyPeriods',
'keyHideBiWeeklyPeriods',
'keyHideMonthlyPeriods',
'keyHideBiMonthlyPeriods',
'analyticsFinancialYearStart',
Expand Down
4 changes: 4 additions & 0 deletions src/settingsKeyMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ const settingsKeyMapping = {
label: i18n.t('Hide weekly periods'),
type: 'checkbox',
},
keyHideBiWeeklyPeriods: {
label: i18n.t('Hide biweekly periods'),
type: 'checkbox',
},
keyHideMonthlyPeriods: {
label: i18n.t('Hide monthly periods'),
type: 'checkbox',
Expand Down

0 comments on commit cd9db5d

Please sign in to comment.