mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
updated language files, cache clear button loading
This commit is contained in:
@@ -208,6 +208,9 @@
|
||||
"username_plac": "输入您的邮件用户名"
|
||||
},
|
||||
"others": {
|
||||
"section_cache": "Application Cache",
|
||||
"cache_disclaimer": "Did you change anything in your .env file or change your stripe credentials? Then clear your cache.",
|
||||
"cache_clear": "Clear Cache",
|
||||
"allow_registration": "允许用户注册",
|
||||
"allow_registration_help": "您可以为新用户禁用公共注册。您仍然可以在管理面板中 <br/>创建新用户。",
|
||||
"contact_email": "联系电子邮件",
|
||||
|
||||
@@ -208,6 +208,9 @@
|
||||
"username_plac": "Type your mail username"
|
||||
},
|
||||
"others": {
|
||||
"section_cache": "Application Cache",
|
||||
"cache_disclaimer": "Did you change anything in your .env file or change your Stripe credentials? Then clear your cache.",
|
||||
"cache_clear": "Clear Cache",
|
||||
"allow_registration": "Allow User Registration",
|
||||
"allow_registration_help": "You can disable public registration for new users. You will still able to <br/>create new users in administration panel.",
|
||||
"contact_email": "Contact Email",
|
||||
|
||||
@@ -208,6 +208,9 @@
|
||||
"username_plac": "Zadajte svoje používateľské meno pre poštu"
|
||||
},
|
||||
"others": {
|
||||
"section_cache": "Aplikačná pamäť",
|
||||
"cache_disclaimer": "Zmenili ste niečo v .env súbore alebo ste zmenili Stripe poverenia? Vymažte aplikačnú pamäť.",
|
||||
"cache_clear": "Vymazať aplikačnú pamäť",
|
||||
"allow_registration": "Povoliť registráciu používateľov",
|
||||
"allow_registration_help": "Môžete zakázať verejnú registráciu nových používateľov. V administračnom paneli stále budete môcť <br/>vytvárať nových používateľov.",
|
||||
"contact_email": "Kontaktný email",
|
||||
|
||||
@@ -81,13 +81,13 @@
|
||||
</div>
|
||||
|
||||
<FormLabel class="mt-70">
|
||||
Application Cache
|
||||
{{ $t('admin_settings.others.section_cache') }}
|
||||
</FormLabel>
|
||||
<InfoBox>
|
||||
Did you change anything in your .env file or change your stripe credentials? Then clear your cache.
|
||||
{{ $t('admin_settings.others.cache_disclaimer') }}
|
||||
</InfoBox>
|
||||
<ButtonBase @click.native="flushCache" type="submit" button-style="theme" class="submit-button">
|
||||
Clear Cache
|
||||
<ButtonBase @click.native="flushCache" :loading="isFlushingCache" :disabled="isFlushingCache" type="submit" button-style="theme" class="submit-button">
|
||||
{{ $t('admin_settings.others.cache_clear') }}
|
||||
</ButtonBase>
|
||||
</div>
|
||||
</PageTabGroup>
|
||||
@@ -130,6 +130,7 @@
|
||||
data() {
|
||||
return {
|
||||
isLoading: true,
|
||||
isFlushingCache: false,
|
||||
app: {
|
||||
contactMail: '',
|
||||
googleAnalytics: '',
|
||||
@@ -141,6 +142,9 @@
|
||||
},
|
||||
methods: {
|
||||
flushCache() {
|
||||
|
||||
this.isFlushingCache = true
|
||||
|
||||
axios.get('/api/flush-cache')
|
||||
.then(() => {
|
||||
events.$emit('toaster', {
|
||||
@@ -148,6 +152,9 @@
|
||||
message: 'Your cache was successfully deleted.',
|
||||
})
|
||||
})
|
||||
.finally(() => {
|
||||
this.isFlushingCache = false
|
||||
})
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user