Fix broken i18n language keys
This commit is contained in:
parent
dd0c124b0e
commit
a7b72a6b7c
|
@ -244,7 +244,7 @@ func handleOptinPage(c echo.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.Render(http.StatusOK, tplMessage,
|
return c.Render(http.StatusOK, tplMessage,
|
||||||
makeMsgTpl(app.i18n.T("public.subsConfirmedTitle"), "",
|
makeMsgTpl(app.i18n.T("public.subConfirmedTitle"), "",
|
||||||
app.i18n.Ts("public.subConfirmed")))
|
app.i18n.Ts("public.subConfirmed")))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ func handleSubscriptionForm(c echo.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.Render(http.StatusOK, tplMessage,
|
return c.Render(http.StatusOK, tplMessage,
|
||||||
makeMsgTpl(app.i18n.T("public.subsConfirmedTitle"), "",
|
makeMsgTpl(app.i18n.T("public.subConfirmedTitle"), "",
|
||||||
app.i18n.Ts("public.subConfirmed")))
|
app.i18n.Ts("public.subConfirmed")))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
:placeholder="$t('globals.fields.name')"></b-input>
|
:placeholder="$t('globals.fields.name')"></b-input>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<b-field :label="Status" label-position="on-border"
|
<b-field :label="$t('globals.fields.status')" label-position="on-border"
|
||||||
:message="$t('subscribers.blocklistedHelp')">
|
:message="$t('subscribers.blocklistedHelp')">
|
||||||
<b-select v-model="form.status" placeholder="Status" required>
|
<b-select v-model="form.status" :placeholder="$t('globals.fields.status')" required>
|
||||||
<option value="enabled">{{ $t('subscribers.status.enabled') }}</option>
|
<option value="enabled">{{ $t('subscribers.status.enabled') }}</option>
|
||||||
<option value="blocklisted">{{ $t('subscribers.status.blocklisted') }}</option>
|
<option value="blocklisted">{{ $t('subscribers.status.blocklisted') }}</option>
|
||||||
</b-select>
|
</b-select>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
"_.code": "en",
|
"_.code": "en",
|
||||||
"_.name": "English (en)",
|
"_.name": "English (en)",
|
||||||
"admin.errorMarshallingConfig": "Error marshalling config: {error}",
|
"admin.errorMarshallingConfig": "Error marshalling config: {error}",
|
||||||
|
"campaigns.addAltText": "Add alternate plain text message",
|
||||||
"campaigns.cantUpdate": "Cannot update a running or a finished campaign.",
|
"campaigns.cantUpdate": "Cannot update a running or a finished campaign.",
|
||||||
"campaigns.clicks": "Clicks",
|
"campaigns.clicks": "Clicks",
|
||||||
"campaigns.confirmDelete": "Delete {name}",
|
"campaigns.confirmDelete": "Delete {name}",
|
||||||
|
@ -37,13 +38,12 @@
|
||||||
"campaigns.onlyPausedDraft": "Only paused campaigns and drafts can be started.",
|
"campaigns.onlyPausedDraft": "Only paused campaigns and drafts can be started.",
|
||||||
"campaigns.onlyScheduledAsDraft": "Only scheduled campaigns can be saved as drafts.",
|
"campaigns.onlyScheduledAsDraft": "Only scheduled campaigns can be saved as drafts.",
|
||||||
"campaigns.pause": "Pause",
|
"campaigns.pause": "Pause",
|
||||||
"campaigns.addAltText": "Add alternate plain text message",
|
|
||||||
"campaigns.removeAltText": "Remove alternate plain text message",
|
|
||||||
"campaigns.plainText": "Plain text",
|
"campaigns.plainText": "Plain text",
|
||||||
"campaigns.preview": "Preview",
|
"campaigns.preview": "Preview",
|
||||||
"campaigns.progress": "Progress",
|
"campaigns.progress": "Progress",
|
||||||
"campaigns.queryPlaceholder": "Name or subject",
|
"campaigns.queryPlaceholder": "Name or subject",
|
||||||
"campaigns.rawHTML": "Raw HTML",
|
"campaigns.rawHTML": "Raw HTML",
|
||||||
|
"campaigns.removeAltText": "Remove alternate plain text message",
|
||||||
"campaigns.richText": "Rich text",
|
"campaigns.richText": "Rich text",
|
||||||
"campaigns.schedule": "Schedule campaign",
|
"campaigns.schedule": "Schedule campaign",
|
||||||
"campaigns.scheduled": "Scheduled",
|
"campaigns.scheduled": "Scheduled",
|
||||||
|
@ -402,6 +402,7 @@
|
||||||
"subscribers.reset": "Reset",
|
"subscribers.reset": "Reset",
|
||||||
"subscribers.selectAll": "Select all {num}",
|
"subscribers.selectAll": "Select all {num}",
|
||||||
"subscribers.status.blocklisted": "Blocklisted",
|
"subscribers.status.blocklisted": "Blocklisted",
|
||||||
|
"subscribers.status.confirmed": "Confirmed",
|
||||||
"subscribers.status.enabled": "Enabled",
|
"subscribers.status.enabled": "Enabled",
|
||||||
"subscribers.status.subscribed": "Subscribed",
|
"subscribers.status.subscribed": "Subscribed",
|
||||||
"subscribers.status.unconfirmed": "Unconfirmed",
|
"subscribers.status.unconfirmed": "Unconfirmed",
|
||||||
|
|
Loading…
Reference in New Issue