1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop, Mobile: Fixes #4363: Added missing translations

This commit is contained in:
Laurent Cozic 2021-01-21 18:23:32 +00:00
parent 9b24c2f4a9
commit 716a92944d
6 changed files with 15 additions and 16 deletions

View File

@ -537,7 +537,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<div style={{ ...rowStyle, marginBottom: 5 }}> <div style={{ ...rowStyle, marginBottom: 5 }}>
<div style={subLabel}>Path:</div> <div style={subLabel}>{_('Path:')}</div>
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', marginBottom: inputStyle.marginBottom }}> <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', marginBottom: inputStyle.marginBottom }}>
<input <input
type={inputType} type={inputType}
@ -556,7 +556,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
</div> </div>
</div> </div>
<div style={{ ...rowStyle, marginBottom: 5 }}> <div style={{ ...rowStyle, marginBottom: 5 }}>
<div style={subLabel}>Arguments:</div> <div style={subLabel}>{_('Arguments:')}</div>
<input <input
type={inputType} type={inputType}
style={inputStyle} style={inputStyle}

View File

@ -85,39 +85,39 @@ const declarations: CommandDeclaration[] = [
}, },
{ {
name: 'editor.deleteLine', name: 'editor.deleteLine',
label: _('Delete line'), label: () => _('Delete line'),
}, },
{ {
name: 'editor.undo', name: 'editor.undo',
label: _('Undo'), label: () => _('Undo'),
}, },
{ {
name: 'editor.redo', name: 'editor.redo',
label: _('Redo'), label: () => _('Redo'),
}, },
{ {
name: 'editor.indentLess', name: 'editor.indentLess',
label: _('Indent less'), label: () => _('Indent less'),
}, },
{ {
name: 'editor.indentMore', name: 'editor.indentMore',
label: _('Indent more'), label: () => _('Indent more'),
}, },
{ {
name: 'editor.toggleComment', name: 'editor.toggleComment',
label: _('Toggle comment'), label: () => _('Toggle comment'),
}, },
{ {
name: 'editor.sortSelectedLines', name: 'editor.sortSelectedLines',
label: _('Sort selected lines'), label: () => _('Sort selected lines'),
}, },
{ {
name: 'editor.swapLineUp', name: 'editor.swapLineUp',
label: _('Swap line up'), label: () => _('Swap line up'),
}, },
{ {
name: 'editor.swapLineDown', name: 'editor.swapLineDown',
label: _('Swap line down'), label: () => _('Swap line down'),
}, },
{ {
name: 'selectedText', name: 'selectedText',

View File

@ -520,7 +520,7 @@ class ConfigScreenComponent extends BaseScreenComponent {
}} }}
> >
<Text key="label" style={this.styles().linkText}> <Text key="label" style={this.styles().linkText}>
Privacy Policy {_('Privacy Policy')}
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>

View File

@ -716,14 +716,14 @@ class Setting extends BaseModel {
// IMPORTANT: The font mapping must match the one in global-styles.js::editorFont() // IMPORTANT: The font mapping must match the one in global-styles.js::editorFont()
if (mobilePlatform === 'ios') { if (mobilePlatform === 'ios') {
return { return {
[Setting.FONT_DEFAULT]: 'Default', [Setting.FONT_DEFAULT]: _('Default'),
[Setting.FONT_MENLO]: 'Menlo', [Setting.FONT_MENLO]: 'Menlo',
[Setting.FONT_COURIER_NEW]: 'Courier New', [Setting.FONT_COURIER_NEW]: 'Courier New',
[Setting.FONT_AVENIR]: 'Avenir', [Setting.FONT_AVENIR]: 'Avenir',
}; };
} }
return { return {
[Setting.FONT_DEFAULT]: 'Default', [Setting.FONT_DEFAULT]: _('Default'),
[Setting.FONT_MONOSPACE]: 'Monospace', [Setting.FONT_MONOSPACE]: 'Monospace',
}; };
}, },

Binary file not shown.

View File

@ -3233,9 +3233,8 @@ msgid "Downloaded and encrypted"
msgstr "Téléchargé et chiffré" msgstr "Téléchargé et chiffré"
#: packages/lib/services/report.js:193 #: packages/lib/services/report.js:193
#, fuzzy
msgid "Created locally" msgid "Created locally"
msgstr "Objets créés localement : %d." msgstr "Créé localement"
#: packages/lib/services/report.js:206 #: packages/lib/services/report.js:206
msgid "Attachments that could not be downloaded" msgid "Attachments that could not be downloaded"