Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CacheManagement
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CacheManagement
Commits
fb8304c2
Commit
fb8304c2
authored
Mar 29, 2020
by
gdlcf88
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete localization. close #7
parent
56fbce27
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
190 additions
and
155 deletions
+190
-155
CacheManagementDomainSharedModule.cs
...yAbp/CacheManagement/CacheManagementDomainSharedModule.cs
+1
-1
cs.json
...yAbp/CacheManagement/Localization/CacheManagement/cs.json
+19
-16
en.json
...yAbp/CacheManagement/Localization/CacheManagement/en.json
+19
-16
pl.json
...yAbp/CacheManagement/Localization/CacheManagement/pl.json
+19
-16
pt-BR.json
...p/CacheManagement/Localization/CacheManagement/pt-BR.json
+19
-16
sl.json
...yAbp/CacheManagement/Localization/CacheManagement/sl.json
+19
-16
tr.json
...yAbp/CacheManagement/Localization/CacheManagement/tr.json
+19
-16
vi.json
...yAbp/CacheManagement/Localization/CacheManagement/vi.json
+19
-16
zh-Hans.json
...CacheManagement/Localization/CacheManagement/zh-Hans.json
+21
-18
zh-Hant.json
...CacheManagement/Localization/CacheManagement/zh-Hant.json
+21
-18
CacheManagementMenuContributor.cs
...Abp.CacheManagement.Web/CacheManagementMenuContributor.cs
+11
-3
Index.cshtml
...b/Pages/CacheManagement/CacheItems/CacheItem/Index.cshtml
+1
-1
KeyList.cshtml
...Pages/CacheManagement/CacheItems/CacheItem/KeyList.cshtml
+2
-2
No files found.
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/CacheManagementDomainSharedModule.cs
View file @
fb8304c2
...
...
@@ -25,7 +25,7 @@ namespace EasyAbp.CacheManagement
options
.
Resources
.
Add
<
CacheManagementResource
>(
"en"
)
.
AddBaseTypes
(
typeof
(
AbpValidationResource
))
.
AddVirtualJson
(
"/Localization/CacheManagement"
);
.
AddVirtualJson
(
"/
EasyAbp/CacheManagement/
Localization/CacheManagement"
);
});
Configure
<
AbpExceptionLocalizationOptions
>(
options
=>
...
...
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/cs.json
View file @
fb8304c2
{
"culture"
:
"cs"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/en.json
View file @
fb8304c2
{
"culture"
:
"en"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/pl.json
View file @
fb8304c2
{
"culture"
:
"pl"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/pt-BR.json
View file @
fb8304c2
{
"culture"
:
"pt-BR"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/sl.json
View file @
fb8304c2
{
"culture"
:
"sl"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/tr.json
View file @
fb8304c2
{
"culture"
:
"tr"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/vi.json
View file @
fb8304c2
{
"culture"
:
"vi"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"Menu:CacheManagement"
:
"Cache Management"
,
"Menu:CacheItems"
:
"Cache Items"
,
"Detail"
:
"Detail"
,
"CacheItem"
:
"Cache Item"
,
"CacheItemData"
:
"Cache Data"
,
"CacheItemCacheName"
:
"Cache Name"
,
"CacheItemDisplayName"
:
"Display Name"
,
"CacheItemDescription"
:
"Description"
,
"CacheItemIgnoreMultiTenancy"
:
"Ignore multi-tenancy"
,
"CacheItemTenantAllowed"
:
"Allow tenants to manage this cache item"
,
"CacheItemCacheKey"
:
"Cache Key"
,
"CacheItemCacheValue"
:
"Cache Value"
,
"CreateCacheItem"
:
"New"
,
"EditCacheItem"
:
"Edit"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cache item {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"Clear
AllCache
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"ClearCache"
:
"Clear
Cache"
,
"ClearAllCache"
:
"Clear
All
"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache
item
{0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all cache
item
s?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/zh-Hans.json
View file @
fb8304c2
{
"culture"
:
"zh-Hans"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"ClearAllCache"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"Menu:CacheManagement"
:
"缓存管理"
,
"Menu:CacheItems"
:
"缓存项"
,
"Detail"
:
"详情"
,
"CacheItem"
:
"缓存项"
,
"CacheItemData"
:
"缓存数据"
,
"CacheItemCacheName"
:
"缓存项标识"
,
"CacheItemDisplayName"
:
"名称"
,
"CacheItemDescription"
:
"描述"
,
"CacheItemIgnoreMultiTenancy"
:
"是否忽略多租户"
,
"CacheItemTenantAllowed"
:
"是否允许租户管理此项"
,
"CacheItemCacheKey"
:
"缓存键"
,
"CacheItemCacheValue"
:
"缓存值"
,
"CreateCacheItem"
:
"新建"
,
"EditCacheItem"
:
"编辑"
,
"CacheItemDeletionConfirmationMessage"
:
"确认删除缓存项 {0}?"
,
"SuccessfullyDeleted"
:
"删除成功"
,
"SuccessCleared"
:
"清空成功"
,
"ClearCache"
:
"清空缓存"
,
"ClearAllCache"
:
"清空所有缓存"
,
"ClearCacheConfirmationMessage"
:
"确认清空缓存项 {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"确认清空所有缓存项?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Domain.Shared/EasyAbp/CacheManagement/Localization/CacheManagement/zh-Hant.json
View file @
fb8304c2
{
"culture"
:
"zh-Hant"
,
"texts"
:
{
"Menu:CacheItem"
:
"MenuCacheItem"
,
"CacheItem"
:
"CacheItem"
,
"CacheItemCacheName"
:
"CacheItemCacheName"
,
"CacheItemDisplayName"
:
"CacheItemDisplayName"
,
"CacheItemDescription"
:
"CacheItemDescription"
,
"CacheItemIgnoreMultiTenancy"
:
"CacheItemIgnoreMultiTenancy"
,
"CacheItemTenantAllowed"
:
"CacheItemTenantAllowed"
,
"CacheItemCacheKey"
:
"CacheItemCacheKey"
,
"CacheItemCacheValue"
:
"CacheItemCacheValue"
,
"CreateCacheItem"
:
"CreateCacheItem"
,
"EditCacheItem"
:
"EditCacheItem"
,
"CacheItemDeletionConfirmationMessage"
:
"Are you sure to delete the cacheitem {0}?"
,
"SuccessfullyDeleted"
:
"Successfully deleted"
,
"SuccessCleared"
:
"Successfully cleared"
,
"ClearCache"
:
"ClearCache"
,
"ClearAllCache"
:
"ClearAllCache"
,
"ClearCacheConfirmationMessage"
:
"Are you sure to clear the cache {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"Are you sure to clear all caches?"
"Menu:CacheManagement"
:
"緩存管理"
,
"Menu:CacheItems"
:
"緩存項"
,
"Detail"
:
"詳情"
,
"CacheItem"
:
"緩存項"
,
"CacheItemData"
:
"緩存數據"
,
"CacheItemCacheName"
:
"緩存項標識"
,
"CacheItemDisplayName"
:
"名稱"
,
"CacheItemDescription"
:
"描述"
,
"CacheItemIgnoreMultiTenancy"
:
"是否忽略多租戶"
,
"CacheItemTenantAllowed"
:
"是否允許租戶管理此項"
,
"CacheItemCacheKey"
:
"緩存鍵"
,
"CacheItemCacheValue"
:
"緩存值"
,
"CreateCacheItem"
:
"新建"
,
"EditCacheItem"
:
"編輯"
,
"CacheItemDeletionConfirmationMessage"
:
"確認删除緩存項 {0}?"
,
"SuccessfullyDeleted"
:
"删除成功"
,
"SuccessCleared"
:
"清空成功"
,
"ClearCache"
:
"清空緩存"
,
"ClearAllCache"
:
"清空所有緩存"
,
"ClearCacheConfirmationMessage"
:
"確認清空緩存項 {0}?"
,
"ClearAllCacheConfirmationMessage"
:
"確認清空所有緩存項?"
}
}
\ No newline at end of file
src/EasyAbp.CacheManagement.Web/CacheManagementMenuContributor.cs
View file @
fb8304c2
using
System.Threading.Tasks
;
using
System.Collections.Generic
;
using
System.Threading.Tasks
;
using
EasyAbp.CacheManagement.Authorization
;
using
Microsoft.Extensions.DependencyInjection
;
using
Microsoft.Extensions.Localization
;
...
...
@@ -24,12 +25,19 @@ namespace EasyAbp.CacheManagement.Web
var
authorizationService
=
context
.
ServiceProvider
.
GetRequiredService
<
IAuthorizationService
>();
var
cacheManagementMenuItem
=
new
ApplicationMenuItem
(
"CacheManagement"
,
l
[
"Menu:CacheManagement"
]);
if
(
await
authorizationService
.
IsGrantedAsync
(
CacheManagementPermissions
.
CacheItems
.
Default
))
{
c
ontext
.
Menu
.
AddItem
(
new
ApplicationMenuItem
(
"CacheItem"
,
l
[
"Menu:CacheItem"
],
"/CacheManagement/CacheItems/CacheItem"
)
c
acheManagementMenuItem
.
AddItem
(
new
ApplicationMenuItem
(
"CacheItem"
,
l
[
"Menu:CacheItem
s
"
],
"/CacheManagement/CacheItems/CacheItem"
)
);
}
if
(!
cacheManagementMenuItem
.
Items
.
IsNullOrEmpty
())
{
context
.
Menu
.
Items
.
Add
(
cacheManagementMenuItem
);
}
}
}
}
src/EasyAbp.CacheManagement.Web/Pages/CacheManagement/CacheItems/CacheItem/Index.cshtml
View file @
fb8304c2
...
...
@@ -8,7 +8,7 @@
@inject IPageLayout PageLayout
@{
PageLayout.Content.Title = L["CacheItem"].Value;
PageLayout.Content.BreadCrumb.Add(L["Menu:CacheItem"].Value);
PageLayout.Content.BreadCrumb.Add(L["Menu:CacheItem
s
"].Value);
PageLayout.Content.MenuItemName = "CacheItem";
}
...
...
src/EasyAbp.CacheManagement.Web/Pages/CacheManagement/CacheItems/CacheItem/KeyList.cshtml
View file @
fb8304c2
...
...
@@ -8,7 +8,7 @@
@inject IPageLayout PageLayout
@{
PageLayout.Content.Title = L["CacheItemData"].Value;
PageLayout.Content.BreadCrumb.Add(L["Menu:CacheItem"].Value);
PageLayout.Content.BreadCrumb.Add(L["Menu:CacheItem
s
"].Value);
PageLayout.Content.MenuItemName = "CacheItem";
}
...
...
@@ -46,7 +46,7 @@
<thead>
<tr>
<th>@L["Actions"]</th>
<th>@L["CacheKey"]</th>
<th>@L["Cache
ItemCache
Key"]</th>
</tr>
</thead>
</abp-table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment