mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Code refactoring (Translator, Stores, ko)
This commit is contained in:
parent
929bffccef
commit
b42ce01e7e
102 changed files with 6775 additions and 6511 deletions
|
|
@ -20,9 +20,9 @@
|
|||
<div class="controls">
|
||||
<div class="flag-selector">
|
||||
<span class="flag-wrapper">
|
||||
<span data-bind="css: 'flag flag-' + mainLanguage()" style=""></span>
|
||||
<span data-bind="css: 'flag flag-' + language()" style=""></span>
|
||||
</span>
|
||||
<span class="flag-name" data-bind="text: mainLanguageFullName, click: selectLanguage"></span>
|
||||
<span class="flag-name" data-bind="text: languageFullName, click: selectLanguage"></span>
|
||||
|
||||
<div data-bind="component: {
|
||||
name: 'SaveTrigger',
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
name: 'Select',
|
||||
params: {
|
||||
options: themesOptions,
|
||||
value: mainTheme,
|
||||
value: theme,
|
||||
trigger: themeTrigger,
|
||||
optionsText: 'optText',
|
||||
optionsValue: 'optValue',
|
||||
|
|
|
|||
|
|
@ -21,22 +21,22 @@
|
|||
<div data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
value: googleEnable.auth,
|
||||
value: googleEnableAuth,
|
||||
label: 'Authentication'
|
||||
}
|
||||
}"></div>
|
||||
<div data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
value: googleEnable.drive,
|
||||
value: googleEnableDrive,
|
||||
label: 'Google Drive Integration (Compose view)'
|
||||
}
|
||||
}"></div>
|
||||
<div data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
value: googleEnable.preview,
|
||||
label: 'Google Viewer Integration (Preview Microsoft Word, Excel and PowerPoint files)'
|
||||
value: googleEnablePreview,
|
||||
label: 'Google Viewer Integration (Preview for Microsoft Word, Excel and PowerPoint files)'
|
||||
}
|
||||
}"></div>
|
||||
</blockquote>
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
name: 'xx',
|
||||
value: googleClientID,
|
||||
trigger: googleTrigger1,
|
||||
enable: googleEnable.requireClientSettings,
|
||||
enable: googleEnableRequireClientSettings,
|
||||
size: 5
|
||||
}
|
||||
}"></div>
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
params: {
|
||||
value: googleClientSecret,
|
||||
trigger: googleTrigger2,
|
||||
enable: googleEnable.requireClientSettings,
|
||||
enable: googleEnableRequireClientSettings,
|
||||
size: 5
|
||||
}
|
||||
}"></div>
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
value: googleApiKey,
|
||||
trigger: googleTrigger3,
|
||||
size: 5,
|
||||
enable: googleEnable.requireApiKey
|
||||
enable: googleEnableRequireApiKey
|
||||
}
|
||||
}"></div>
|
||||
<blockquote style="margin-top: 10px; margin-bottom: 0">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue