Sfoglia il codice sorgente

update resource.

master
yangxiaodong 7 anni fa
parent
commit
3d5559e2c2
4 ha cambiato i file con 7 aggiunte e 32 eliminazioni
  1. +1
    -1
      src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
  2. +1
    -1
      src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
  3. +3
    -0
      src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
  4. +2
    -30
      src/DotNetCore.CAP/Dashboard/RouteCollectionExtensions.cs

+ 1
- 1
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs Vedi File

@@ -439,7 +439,7 @@ namespace DotNetCore.CAP.Dashboard.Resources {
}
/// <summary>
/// Looks up a localized string similar to No published messages found..
/// Looks up a localized string similar to No messages found..
/// </summary>
public static string MessagesPage_NoMessages {
get {


+ 1
- 1
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx Vedi File

@@ -340,7 +340,7 @@
<value>Retries</value>
</data>
<data name="MessagesPage_NoMessages" xml:space="preserve">
<value>No published messages found.</value>
<value>No messages found.</value>
</data>
<data name="PublishedPage_Title" xml:space="preserve">
<value>Published Jobs</value>


+ 3
- 0
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx Vedi File

@@ -387,4 +387,7 @@
<data name="Common_Name" xml:space="preserve">
<value>名称</value>
</data>
<data name="MessagesPage_NoMessages" xml:space="preserve">
<value>没有消息</value>
</data>
</root>

+ 2
- 30
src/DotNetCore.CAP/Dashboard/RouteCollectionExtensions.cs Vedi File

@@ -19,7 +19,7 @@ namespace DotNetCore.CAP.Dashboard

public static void AddCommand(
this RouteCollection routes,
string pathTemplate,
string pathTemplate,
Func<DashboardContext, bool> command)
{
if (routes == null) throw new ArgumentNullException(nameof(routes));
@@ -63,34 +63,6 @@ namespace DotNetCore.CAP.Dashboard
if (command == null) throw new ArgumentNullException(nameof(command));

routes.Add(pathTemplate, new BatchCommandDispatcher(command));
}

//public static void AddClientBatchCommand(
// this RouteCollection routes,
// string pathTemplate,
// [NotNull] Action<IBackgroundJobClient, string> command)
//{
// if (command == null) throw new ArgumentNullException(nameof(command));

// routes.AddBatchCommand(pathTemplate, (context, jobId) =>
// {
// var client = new BackgroundJobClient(context.Storage);
// command(client, jobId);
// });
//}

//public static void AddRecurringBatchCommand(
// this RouteCollection routes,
// string pathTemplate,
// Action<RecurringJobManager, string> command)
//{
// if (command == null) throw new ArgumentNullException(nameof(command));

// routes.AddBatchCommand(pathTemplate, (context, jobId) =>
// {
// var manager = new RecurringJobManager(context.Storage);
// command(manager, jobId);
// });
//}
}
}
}

Caricamento…
Annulla
Salva