1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Fixes #671: Make string translatable

This commit is contained in:
Laurent Cozic
2018-10-05 18:17:49 +00:00
parent b6c36d1961
commit ac12143d00
73 changed files with 1187 additions and 89 deletions

View File

@ -59,9 +59,11 @@ class SelectDateTimeDialog extends Component {
}
render() {
const clearAlarmText = _("Clear alarm"); // For unknown reasons, this particular string doesn't get translated if it's directly in the text property below
const popupActions = [
<DialogButton text={_("Save alarm")} align="center" onPress={() => this.onAccept()} key="saveButton" />,
<DialogButton text={_("Clear alarm")} align="center" onPress={() => this.onClear()} key="clearButton" />,
<DialogButton text={clearAlarmText} align="center" onPress={() => this.onClear()} key="clearButton" />,
<DialogButton text={_("Cancel")} align="center" onPress={() => this.onReject()} key="cancelButton" />,
];