Skip to content

Commit

Permalink
资源文件和常量
Browse files Browse the repository at this point in the history
  • Loading branch information
Codespilot committed Jan 16, 2024
1 parent 1611a33 commit 7447ed6
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Source/Starfish.Webapp/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,33 @@
<data name="IDS_SETTING_INDEX_BUTTON_SYNC_REDIS" xml:space="preserve">
<value>Sync to Redis</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_BUTTON_PUBLISH" xml:space="preserve">
<value>Publish</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_LABEL_COMMENT" xml:space="preserve">
<value>Comment</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_LABEL_VERSION" xml:space="preserve">
<value>Version number</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_TITLE" xml:space="preserve">
<value>Publish setting</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_BUTTON_START" xml:space="preserve">
<value>Start</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_LABEL_CONNECTION" xml:space="preserve">
<value>Connection string</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_LABEL_DATABASE" xml:space="preserve">
<value>Database</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_LABEL_KEY" xml:space="preserve">
<value>Key name</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_TITLE" xml:space="preserve">
<value>Sync to Redis</value>
</data>
<data name="IDS_TEAM_APPEND_MEMBER_DIALOG_TITLE" xml:space="preserve">
<value>Add member</value>
</data>
Expand Down
27 changes: 27 additions & 0 deletions Source/Starfish.Webapp/Properties/Resources.zh-CN.resx
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,33 @@
<data name="IDS_SETTING_INDEX_BUTTON_SYNC_REDIS" xml:space="preserve">
<value>同步到Redis</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_BUTTON_PUBLISH" xml:space="preserve">
<value>发布</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_LABEL_COMMENT" xml:space="preserve">
<value>更新内容</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_LABEL_VERSION" xml:space="preserve">
<value>版本号</value>
</data>
<data name="IDS_SETTING_PUBLISH_DIALOG_TITLE" xml:space="preserve">
<value>发布配置</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_BUTTON_START" xml:space="preserve">
<value>开始同步</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_LABEL_CONNECTION" xml:space="preserve">
<value>连接字符串</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_LABEL_DATABASE" xml:space="preserve">
<value>数据库</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_LABEL_KEY" xml:space="preserve">
<value>Redis Key名称</value>
</data>
<data name="IDS_SETTING_SYNC_REDIS_DIALOG_TITLE" xml:space="preserve">
<value>同步到Redis</value>
</data>
<data name="IDS_TEAM_APPEND_MEMBER_DIALOG_TITLE" xml:space="preserve">
<value>添加成员</value>
</data>
Expand Down
6 changes: 6 additions & 0 deletions Source/Starfish.Webapp/Seedwork/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ public static class Query
{
public const int DefaultSize = 20;
}

public static class Setting
{
public const string FormatJson = "text/json";
public const string FormatText = "text/plain";
}
}

0 comments on commit 7447ed6

Please sign in to comment.