Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
Drip
Commits
a951ffe9
Commit
a951ffe9
authored
6 years ago
by
Stefanie Grewenig
Browse files
Options
Downloads
Patches
Plain Diff
move hard coded headers and explainers from temperature to i18n labels
- issue: 127 - by: sg
parent
6d88f2bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/cycle-day/symptoms/temperature.js
+5
-5
5 additions, 5 deletions
components/cycle-day/symptoms/temperature.js
i18n/en/cycle-day.js
+7
-1
7 additions, 1 deletion
i18n/en/cycle-day.js
with
12 additions
and
6 deletions
components/cycle-day/symptoms/temperature.js
+
5
−
5
View file @
a951ffe9
...
...
@@ -101,7 +101,7 @@ export default class Temp extends Component {
<
ScrollView
style
=
{
styles
.
page
}
>
<
View
>
<
SymptomSection
header
=
"
T
emperature
(°C)
"
header
=
{
labels
.
t
emperature
.
header
}
explainer
=
{
labels
.
temperature
.
explainer
}
inline
=
{
true
}
>
...
...
@@ -112,7 +112,7 @@ export default class Temp extends Component {
/
>
<
/SymptomSection
>
<
SymptomSection
header
=
"
T
ime
"
header
=
{
labels
.
t
ime
}
inline
=
{
true
}
>
<
TextInput
...
...
@@ -136,7 +136,7 @@ export default class Temp extends Component {
/
>
<
/SymptomSection
>
<
SymptomSection
header
=
"
Note
"
header
=
{
labels
.
note
.
header
}
explainer
=
{
labels
.
note
.
explainer
}
>
<
TextInput
...
...
@@ -150,8 +150,8 @@ export default class Temp extends Component {
/
>
<
/SymptomSection
>
<
SymptomSection
header
=
"
Exclude
"
explainer
=
{
labels
.
exclude
E
xplainer
}
header
=
{
labels
.
exclude
.
header
}
explainer
=
{
labels
.
exclude
.
e
xplainer
}
inline
=
{
true
}
>
<
Switch
...
...
This diff is collapsed.
Click to expand it.
i18n/en/cycle-day.js
+
7
−
1
View file @
a951ffe9
...
...
@@ -89,12 +89,18 @@ export const temperature = {
outOfAbsoluteRangeWarning
:
'
This temperature value is too high or low to be shown on the temperature chart.
'
,
saveAnyway
:
'
Save anyway
'
,
temperature
:
{
header
:
"
Temperature (°C)
"
,
explainer
:
'
Take your temperature right after waking up, before getting out of bed
'
},
time
:
"
Time
"
,
note
:
{
header
:
"
Note
"
,
explainer
:
'
Is there anything that could have influenced this value, such as bad sleep or alcohol consumption?
'
},
excludeExplainer
:
"
You can exclude this value if you don't want to use it for fertility detection
"
exclude
:
{
header
:
"
Exclude
"
,
explainer
:
"
You can exclude this value if you don't want to use it for fertility detection
"
}
}
export
const
noteExplainer
=
"
Anything you want to add for the day?
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment