Procházet zdrojové kódy

update resource.

master
yangxiaodong před 7 roky
rodič
revize
3d5559e2c2
4 změnil soubory, kde provedl 7 přidání a 32 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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);
// });
//}
}
}
}

Načítá se…
Zrušit
Uložit