Changed some strings

This commit is contained in:
Kwoth 2016-10-04 23:15:57 +02:00
parent 9c0ff08c67
commit c9e9a4255d
4 changed files with 33 additions and 177 deletions

View File

@ -16,7 +16,7 @@ namespace NadekoBot.Modules.Utility
{ {
[LocalizedCommand, LocalizedRemarks, LocalizedSummary, LocalizedAlias] [LocalizedCommand, LocalizedRemarks, LocalizedSummary, LocalizedAlias]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
public async Task ShowQuote(IUserMessage umsg, string keyword) public async Task ShowQuote(IUserMessage umsg, [Remainder] string keyword)
{ {
var channel = (ITextChannel)umsg.Channel; var channel = (ITextChannel)umsg.Channel;
@ -65,7 +65,7 @@ namespace NadekoBot.Modules.Utility
[LocalizedCommand, LocalizedRemarks, LocalizedSummary, LocalizedAlias] [LocalizedCommand, LocalizedRemarks, LocalizedSummary, LocalizedAlias]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
public async Task DeleteQuote(IUserMessage umsg, string keyword) public async Task DeleteQuote(IUserMessage umsg, [Remainder] string keyword)
{ {
var channel = (ITextChannel)umsg.Channel; var channel = (ITextChannel)umsg.Channel;

View File

@ -87,7 +87,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Add a custom reaction. Guide here: &lt;https://github.com/Kwoth/NadekoBot/wiki/Custom-Reactions&gt; **Bot Owner Only!**. /// Looks up a localized string similar to Add a custom reaction. Guide here: &lt;https://github.com/Kwoth/NadekoBot/wiki/Custom-Reactions&gt;.
/// </summary> /// </summary>
public static string addcustreact_desc { public static string addcustreact_desc {
get { get {
@ -114,7 +114,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Adds a specified string to the list of playing strings to rotate. Supported placeholders: %servers%, %users%, %playing%, %queued%, %trivia% **Bot Owner Only!**. /// Looks up a localized string similar to Adds a specified string to the list of playing strings to rotate. Supported placeholders: %servers%, %users%, %playing%, %queued%.
/// </summary> /// </summary>
public static string addplaying_desc { public static string addplaying_desc {
get { get {
@ -141,7 +141,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Adds a new quote with the specified name (single word) and message (no limit).. /// Looks up a localized string similar to Adds a new quote with the specified name and message (no limit)..
/// </summary> /// </summary>
public static string addquote_desc { public static string addquote_desc {
get { get {
@ -150,7 +150,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to `.. abc My message`. /// Looks up a localized string similar to `.. abc sayhi Hi`.
/// </summary> /// </summary>
public static string addquote_summary { public static string addquote_summary {
get { get {
@ -168,34 +168,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Sets permissions for all commands from a certain module at the channel level.. /// Looks up a localized string similar to Enable or disable all modules in a specified channel..
/// </summary>
public static string allchnlcmds_desc {
get {
return ResourceManager.GetString("allchnlcmds_desc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to `;acc &quot;module name&quot; [enable/disable] SomeChannel`.
/// </summary>
public static string allchnlcmds_summary {
get {
return ResourceManager.GetString("allchnlcmds_summary", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to allchnlcmds acc.
/// </summary>
public static string allchnlcmds_text {
get {
return ResourceManager.GetString("allchnlcmds_text", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sets permissions for all modules at the channel level..
/// </summary> /// </summary>
public static string allchnlmdls_desc { public static string allchnlmdls_desc {
get { get {
@ -204,7 +177,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to `;acm [enable/disable] SomeChannel`. /// Looks up a localized string similar to `;acm enable #SomeChannel`.
/// </summary> /// </summary>
public static string allchnlmdls_summary { public static string allchnlmdls_summary {
get { get {
@ -240,7 +213,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to allcmdcooldowns. /// Looks up a localized string similar to allcmdcooldowns acmdcds.
/// </summary> /// </summary>
public static string allcmdcooldowns_text { public static string allcmdcooldowns_text {
get { get {
@ -249,34 +222,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Sets permissions for all commands from a certain module at the role level.. /// Looks up a localized string similar to Enable or disable all modules for a specific role..
/// </summary>
public static string allrolecmds_desc {
get {
return ResourceManager.GetString("allrolecmds_desc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to `;arc &quot;module name&quot; [enable/disable] MyRole`.
/// </summary>
public static string allrolecmds_summary {
get {
return ResourceManager.GetString("allrolecmds_summary", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to allrolecmds acmdcds.
/// </summary>
public static string allrolecmds_text {
get {
return ResourceManager.GetString("allrolecmds_text", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sets permissions for all modules at the role level..
/// </summary> /// </summary>
public static string allrolemdls_desc { public static string allrolemdls_desc {
get { get {
@ -303,34 +249,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Sets permissions for all commands from a certain module at the server level.. /// Looks up a localized string similar to Enable or disable all modules for your server..
/// </summary>
public static string allsrvrcmds_desc {
get {
return ResourceManager.GetString("allsrvrcmds_desc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to `;asc &quot;module name&quot; [enable/disable]`.
/// </summary>
public static string allsrvrcmds_summary {
get {
return ResourceManager.GetString("allsrvrcmds_summary", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to allsrvrcmds asc.
/// </summary>
public static string allsrvrcmds_text {
get {
return ResourceManager.GetString("allsrvrcmds_text", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sets permissions for all modules at the server level..
/// </summary> /// </summary>
public static string allsrvrmdls_desc { public static string allsrvrmdls_desc {
get { get {
@ -357,34 +276,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Sets permission for all commands from a module for a specific user.. /// Looks up a localized string similar to Enable or disable all modules for a specific user..
/// </summary>
public static string allusrcmds_desc {
get {
return ResourceManager.GetString("allusrcmds_desc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to `;auc Searches disable @Someone`.
/// </summary>
public static string allusrcmds_summary {
get {
return ResourceManager.GetString("allusrcmds_summary", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to allusrcmds auc.
/// </summary>
public static string allusrcmds_text {
get {
return ResourceManager.GetString("allusrcmds_text", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sets permission for all modules for a specific user..
/// </summary> /// </summary>
public static string allusrmdls_desc { public static string allusrmdls_desc {
get { get {
@ -420,7 +312,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to `~aq aquarion evol`. /// Looks up a localized string similar to `~ani aquarion evol`.
/// </summary> /// </summary>
public static string ani_summary { public static string ani_summary {
get { get {
@ -438,7 +330,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Sends a message to all servers&apos; general channel bot is connected to.**Bot Owner Only!**. /// Looks up a localized string similar to Sends a message to all servers&apos; general channel bot is connected to..
/// </summary> /// </summary>
public static string announce_desc { public static string announce_desc {
get { get {
@ -465,7 +357,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Adds a role, or list of roles separated by whitespace(use quotations for multiword roles) to the list of self-assignable roles. **Needs Manage Roles Permissions.**. /// Looks up a localized string similar to Adds a role, or list of roles separated by whitespace(use quotations for multiword roles) to the list of self-assignable roles..
/// </summary> /// </summary>
public static string asar_desc { public static string asar_desc {
get { get {
@ -519,7 +411,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Automaticaly assigns a specified role to every user who joins the server. **Needs Manage Roles Permissions.**. /// Looks up a localized string similar to Automaticaly assigns a specified role to every user who joins the server. .
/// </summary> /// </summary>
public static string autoassignrole_desc { public static string autoassignrole_desc {
get { get {
@ -627,7 +519,7 @@ namespace NadekoBot.Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Bans a user by id or name with an optional message. **Needs Ban Permissions.**. /// Looks up a localized string similar to Bans a user by id or name with an optional message..
/// </summary> /// </summary>
public static string ban_desc { public static string ban_desc {
get { get {

View File

@ -301,7 +301,7 @@
<value>addplaying adpl</value> <value>addplaying adpl</value>
</data> </data>
<data name="addplaying_desc" xml:space="preserve"> <data name="addplaying_desc" xml:space="preserve">
<value>Adds a specified string to the list of playing strings to rotate. Supported placeholders: %servers%, %users%, %playing%, %queued%, %trivia% **Bot Owner Only!**</value> <value>Adds a specified string to the list of playing strings to rotate. Supported placeholders: %servers%, %users%, %playing%, %queued%</value>
</data> </data>
<data name="addplaying_summary" xml:space="preserve"> <data name="addplaying_summary" xml:space="preserve">
<value>`.adpl`</value> <value>`.adpl`</value>
@ -382,7 +382,7 @@
<value>asar</value> <value>asar</value>
</data> </data>
<data name="asar_desc" xml:space="preserve"> <data name="asar_desc" xml:space="preserve">
<value>Adds a role, or list of roles separated by whitespace(use quotations for multiword roles) to the list of self-assignable roles. **Needs Manage Roles Permissions.**</value> <value>Adds a role, or list of roles separated by whitespace(use quotations for multiword roles) to the list of self-assignable roles.</value>
</data> </data>
<data name="asar_summary" xml:space="preserve"> <data name="asar_summary" xml:space="preserve">
<value>`.asar Gamer`</value> <value>`.asar Gamer`</value>
@ -436,7 +436,7 @@
<value>addcustreact acr</value> <value>addcustreact acr</value>
</data> </data>
<data name="addcustreact_desc" xml:space="preserve"> <data name="addcustreact_desc" xml:space="preserve">
<value>Add a custom reaction. Guide here: &lt;https://github.com/Kwoth/NadekoBot/wiki/Custom-Reactions&gt; **Bot Owner Only!**</value> <value>Add a custom reaction. Guide here: &lt;https://github.com/Kwoth/NadekoBot/wiki/Custom-Reactions&gt;</value>
</data> </data>
<data name="addcustreact_summary" xml:space="preserve"> <data name="addcustreact_summary" xml:space="preserve">
<value>`.acr "hello" Hi there %user%`</value> <value>`.acr "hello" Hi there %user%`</value>
@ -481,7 +481,7 @@
<value>autoassignrole aar</value> <value>autoassignrole aar</value>
</data> </data>
<data name="autoassignrole_desc" xml:space="preserve"> <data name="autoassignrole_desc" xml:space="preserve">
<value>Automaticaly assigns a specified role to every user who joins the server. **Needs Manage Roles Permissions.**</value> <value>Automaticaly assigns a specified role to every user who joins the server. </value>
</data> </data>
<data name="autoassignrole_summary" xml:space="preserve"> <data name="autoassignrole_summary" xml:space="preserve">
<value>`.aar` to disable, `.aar Role Name` to enable</value> <value>`.aar` to disable, `.aar Role Name` to enable</value>
@ -589,7 +589,7 @@
<value>ban b</value> <value>ban b</value>
</data> </data>
<data name="ban_desc" xml:space="preserve"> <data name="ban_desc" xml:space="preserve">
<value>Bans a user by id or name with an optional message. **Needs Ban Permissions.**</value> <value>Bans a user by id or name with an optional message.</value>
</data> </data>
<data name="ban_summary" xml:space="preserve"> <data name="ban_summary" xml:space="preserve">
<value>`.b "@some Guy" Your behaviour is toxic.`</value> <value>`.b "@some Guy" Your behaviour is toxic.`</value>
@ -805,7 +805,7 @@
<value>announce</value> <value>announce</value>
</data> </data>
<data name="announce_desc" xml:space="preserve"> <data name="announce_desc" xml:space="preserve">
<value>Sends a message to all servers' general channel bot is connected to.**Bot Owner Only!**</value> <value>Sends a message to all servers' general channel bot is connected to.</value>
</data> </data>
<data name="announce_summary" xml:space="preserve"> <data name="announce_summary" xml:space="preserve">
<value>`.announce Useless spam`</value> <value>`.announce Useless spam`</value>
@ -1174,56 +1174,29 @@
<value>allsrvrmdls asm</value> <value>allsrvrmdls asm</value>
</data> </data>
<data name="allsrvrmdls_desc" xml:space="preserve"> <data name="allsrvrmdls_desc" xml:space="preserve">
<value>Sets permissions for all modules at the server level.</value> <value>Enable or disable all modules for your server.</value>
</data> </data>
<data name="allsrvrmdls_summary" xml:space="preserve"> <data name="allsrvrmdls_summary" xml:space="preserve">
<value>`;asm [enable/disable]`</value> <value>`;asm [enable/disable]`</value>
</data> </data>
<data name="allsrvrcmds_text" xml:space="preserve">
<value>allsrvrcmds asc</value>
</data>
<data name="allsrvrcmds_desc" xml:space="preserve">
<value>Sets permissions for all commands from a certain module at the server level.</value>
</data>
<data name="allsrvrcmds_summary" xml:space="preserve">
<value>`;asc "module name" [enable/disable]`</value>
</data>
<data name="allchnlmdls_text" xml:space="preserve"> <data name="allchnlmdls_text" xml:space="preserve">
<value>allchnlmdls acm</value> <value>allchnlmdls acm</value>
</data> </data>
<data name="allchnlmdls_desc" xml:space="preserve"> <data name="allchnlmdls_desc" xml:space="preserve">
<value>Sets permissions for all modules at the channel level.</value> <value>Enable or disable all modules in a specified channel.</value>
</data> </data>
<data name="allchnlmdls_summary" xml:space="preserve"> <data name="allchnlmdls_summary" xml:space="preserve">
<value>`;acm [enable/disable] SomeChannel`</value> <value>`;acm enable #SomeChannel`</value>
</data>
<data name="allchnlcmds_text" xml:space="preserve">
<value>allchnlcmds acc</value>
</data>
<data name="allchnlcmds_desc" xml:space="preserve">
<value>Sets permissions for all commands from a certain module at the channel level.</value>
</data>
<data name="allchnlcmds_summary" xml:space="preserve">
<value>`;acc "module name" [enable/disable] SomeChannel`</value>
</data> </data>
<data name="allrolemdls_text" xml:space="preserve"> <data name="allrolemdls_text" xml:space="preserve">
<value>allrolemdls arm</value> <value>allrolemdls arm</value>
</data> </data>
<data name="allrolemdls_desc" xml:space="preserve"> <data name="allrolemdls_desc" xml:space="preserve">
<value>Sets permissions for all modules at the role level.</value> <value>Enable or disable all modules for a specific role.</value>
</data> </data>
<data name="allrolemdls_summary" xml:space="preserve"> <data name="allrolemdls_summary" xml:space="preserve">
<value>`;arm [enable/disable] MyRole`</value> <value>`;arm [enable/disable] MyRole`</value>
</data> </data>
<data name="allrolecmds_text" xml:space="preserve">
<value>allrolecmds acmdcds</value>
</data>
<data name="allrolecmds_desc" xml:space="preserve">
<value>Sets permissions for all commands from a certain module at the role level.</value>
</data>
<data name="allrolecmds_summary" xml:space="preserve">
<value>`;arc "module name" [enable/disable] MyRole`</value>
</data>
<data name="userblacklist_text" xml:space="preserve"> <data name="userblacklist_text" xml:space="preserve">
<value>ubl</value> <value>ubl</value>
</data> </data>
@ -1279,7 +1252,7 @@
<value>`;cmdcd "some cmd" 5`</value> <value>`;cmdcd "some cmd" 5`</value>
</data> </data>
<data name="allcmdcooldowns_text" xml:space="preserve"> <data name="allcmdcooldowns_text" xml:space="preserve">
<value>allcmdcooldowns</value> <value>allcmdcooldowns acmdcds</value>
</data> </data>
<data name="allcmdcooldowns_desc" xml:space="preserve"> <data name="allcmdcooldowns_desc" xml:space="preserve">
<value>Shows a list of all commands and their respective cooldowns.</value> <value>Shows a list of all commands and their respective cooldowns.</value>
@ -1291,10 +1264,10 @@
<value>.</value> <value>.</value>
</data> </data>
<data name="addquote_desc" xml:space="preserve"> <data name="addquote_desc" xml:space="preserve">
<value>Adds a new quote with the specified name (single word) and message (no limit).</value> <value>Adds a new quote with the specified name and message (no limit).</value>
</data> </data>
<data name="addquote_summary" xml:space="preserve"> <data name="addquote_summary" xml:space="preserve">
<value>`.. abc My message`</value> <value>`.. abc sayhi Hi`</value>
</data> </data>
<data name="showquote_text" xml:space="preserve"> <data name="showquote_text" xml:space="preserve">
<value>..</value> <value>..</value>
@ -2131,7 +2104,7 @@
<value>Queries anilist for an anime and shows the first result.</value> <value>Queries anilist for an anime and shows the first result.</value>
</data> </data>
<data name="ani_summary" xml:space="preserve"> <data name="ani_summary" xml:space="preserve">
<value>`~aq aquarion evol`</value> <value>`~ani aquarion evol`</value>
</data> </data>
<data name="imdb_text" xml:space="preserve"> <data name="imdb_text" xml:space="preserve">
<value>imdb</value> <value>imdb</value>
@ -2646,17 +2619,8 @@
<data name="listperms_text" xml:space="preserve"> <data name="listperms_text" xml:space="preserve">
<value>listperms lp</value> <value>listperms lp</value>
</data> </data>
<data name="allusrcmds_desc" xml:space="preserve">
<value>Sets permission for all commands from a module for a specific user.</value>
</data>
<data name="allusrcmds_summary" xml:space="preserve">
<value>`;auc Searches disable @Someone`</value>
</data>
<data name="allusrcmds_text" xml:space="preserve">
<value>allusrcmds auc</value>
</data>
<data name="allusrmdls_desc" xml:space="preserve"> <data name="allusrmdls_desc" xml:space="preserve">
<value>Sets permission for all modules for a specific user.</value> <value>Enable or disable all modules for a specific user.</value>
</data> </data>
<data name="allusrmdls_summary" xml:space="preserve"> <data name="allusrmdls_summary" xml:space="preserve">
<value>`;aum enable @someone`</value> <value>`;aum enable @someone`</value>

View File

@ -7,7 +7,7 @@
"emitEntryPoint": true, "emitEntryPoint": true,
"allowUnsafe": true, "allowUnsafe": true,
"compile": { "compile": {
"exclude": [ "_Models", "_Classes", "_Modules" ], "exclude": [ ],
}, },
"copyToOutput": { "copyToOutput": {
"include": [ "data" ], "include": [ "data" ],