Skip to content

Commit

Permalink
fix: names, error prop
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Jan 19, 2024
1 parent b3140db commit dbff3ec
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
27 changes: 17 additions & 10 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: 2023-09-29T11:26:08.512Z\n"
"PO-Revision-Date: 2023-09-29T11:26:08.512Z\n"
"POT-Creation-Date: 2024-01-19T12:30:16.705Z\n"
"PO-Revision-Date: 2024-01-19T12:30:16.705Z\n"

msgid "Failed to load: {{error}}"
msgstr "Failed to load: {{error}}"
Expand Down Expand Up @@ -755,15 +755,22 @@ msgstr "Remote server username"
msgid "Remote server password"
msgstr "Remote server password"

msgid "Number of minutes after which a job is considered stale"
msgstr "Number of minutes after which a job is considered stale"
msgid "Number of minutes after which a stale job is reset to scheduled state (1-60)"
msgstr "Number of minutes after which a stale job is reset to scheduled state (1-60)"

msgid "Number of minutes after which a completed one-run job is deleted"
msgstr "Number of minutes after which a completed one-run job is deleted"
msgid "Number of minutes after which a completed ad-hoc job is deleted (1+)"
msgstr "Number of minutes after which a completed ad-hoc job is deleted (1+)"

msgid ""
"Number of hours a job will trigger after its intended time if job has not "
"yet run"
"Maximum number of hours a job may trigger after its intended time if job "
"has not yet run (1-24)"
msgstr ""
"Number of hours a job will trigger after its intended time if job has not "
"yet run"
"Maximum number of hours a job may trigger after its intended time if job "
"has not yet run (1-24)"

msgid ""
"Job execution interval (seconds) below which a job will be logged at debug "
"(rather than info) level (20+)"
msgstr ""
"Job execution interval (seconds) below which a job will be logged at debug "
"(rather than info) level (20+)"
1 change: 0 additions & 1 deletion src/form-fields/text-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class TextFieldComponent extends React.Component {
{...other}
value={this.state.value}
onChange={this.onChange}
error={true}
/>
{helpText && <p style={helpTextStyle}>{helpText}</p>}
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/settingsKeyMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ const settingsKeyMapping = {
/* ============================================================================================================ */
jobsRescheduleAfterMinutes: {
label: i18n.t(
'Number of minutes after which a job is considered stale (1-60)'
'Number of minutes after which a stale job is reset to scheduled state (1-60)'
),
type: 'textfield',
inputType: 'number',
Expand All @@ -704,7 +704,7 @@ const settingsKeyMapping = {
},
jobsCleanupAfterMinutes: {
label: i18n.t(
'Number of minutes after which a completed one-run job is deleted (1+)'
'Number of minutes after which a completed ad-hoc job is deleted (1+)'
),
type: 'textfield',
inputType: 'number',
Expand All @@ -714,7 +714,7 @@ const settingsKeyMapping = {
},
jobsMaxCronDelayHours: {
label: i18n.t(
'Number of hours a job will trigger after its intended time if job has not yet run (1-24)'
'Maximum number of hours a job may trigger after its intended time if job has not yet run (1-24)'
),
type: 'textfield',
inputType: 'number',
Expand Down

0 comments on commit dbff3ec

Please sign in to comment.