1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +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={{ flex: 1 }}>
<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 }}>
<input
type={inputType}
@ -556,7 +556,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
</div>
</div>
<div style={{ ...rowStyle, marginBottom: 5 }}>
<div style={subLabel}>Arguments:</div>
<div style={subLabel}>{_('Arguments:')}</div>
<input
type={inputType}
style={inputStyle}

View File

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

View File

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

View File

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

Binary file not shown.

View File

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