Skip to content

Commit

Permalink
Fix s/sub team/user group/
Browse files Browse the repository at this point in the history
  • Loading branch information
nowsprinting committed Dec 22, 2024
1 parent 3bbb50a commit b1ea5e5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions Editor/Localization/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -576,12 +576,12 @@ msgid "Error Report Settings"
msgstr "エラーレポート設定"

# mentionSubTeamIDs
msgid "Mention Sub Team IDs"
msgstr "メンション宛先チームID"
msgid "Mention user group IDs"
msgstr "メンション宛先ユーザーグループID"

# mentionSubTeamIDs tooltip
msgid "Comma-separated sub team IDs to mention when posting error reports."
msgstr "エラー終了時に送信する通知をメンションするチームのIDをカンマ区切りで指定します"
msgid "Comma-separated user group IDs to mention when posting error reports."
msgstr "エラー終了時に送信する通知をメンションするユーザーグループのIDをカンマ区切りで指定します"

# addHereInSlackMessage
msgid "Add @here"
Expand Down Expand Up @@ -636,12 +636,12 @@ msgid "Also post a report if completed autopilot normally."
msgstr "正常終了時にもレポートを送信します"

# mentionSubTeamIDs (same as mentionSubTeamIDsOnError)
msgid "Mention Sub Team IDs"
msgstr "メンション宛先チームID"
msgid "Mention User Group IDs"
msgstr "メンション宛先ユーザーグループID"

# mentionSubTeamIDs tooltip
msgid "Comma-separated sub team IDs to mention when posting completion reports."
msgstr "正常終了時に送信する通知をメンションするチームのIDをカンマ区切りで指定します"
msgid "Comma-separated user group IDs to mention when posting completion reports."
msgstr "正常終了時に送信する通知をメンションするユーザーグループのIDをカンマ区切りで指定します"

# addHereInSlackMessage (same as addHereInSlackMessageOnError)
msgid "Add @here"
Expand Down
8 changes: 4 additions & 4 deletions Editor/UI/Reporters/SlackReporterEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public class SlackReporterEditor : UnityEditor.Editor

private static readonly string s_errorSettingsHeader = L10n.Tr("Error Report Settings");

private static readonly string s_mentionSubTeamIDs = L10n.Tr("Mention Sub Team IDs");
private static readonly string s_mentionSubTeamIDsTooltip = L10n.Tr("Comma-separated sub team IDs to mention when posting error reports.");
private static readonly string s_mentionSubTeamIDs = L10n.Tr("Mention User Group IDs");
private static readonly string s_mentionSubTeamIDsTooltip = L10n.Tr("Comma-separated user group IDs to mention when posting error reports.");
private SerializedProperty _mentionSubTeamIDsProp;
private GUIContent _mentionSubTeamIDsGUIContent;

Expand Down Expand Up @@ -72,8 +72,8 @@ public class SlackReporterEditor : UnityEditor.Editor
private SerializedProperty _postOnNormallyProp;
private GUIContent _postOnNormallyGUIContent;

private static readonly string s_mentionSubTeamIDsOnNormally = L10n.Tr("Mention Sub Team IDs");
private static readonly string s_mentionSubTeamIDsOnNormallyTooltip = L10n.Tr("Comma-separated sub team IDs to mention when posting completion reports.");
private static readonly string s_mentionSubTeamIDsOnNormally = L10n.Tr("Mention User Group IDs");
private static readonly string s_mentionSubTeamIDsOnNormallyTooltip = L10n.Tr("Comma-separated user group IDs to mention when posting completion reports.");
private SerializedProperty _mentionSubTeamIDsOnNormallyProp;
private GUIContent _mentionSubTeamIDsOnNormallyGUIContent;

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ The instance of this Reporter (.asset file) can have the following settings.
<dt>Slack Channels</dt><dd>Channels to send notifications. If omitted, not notified. Multiple channels can be specified by separating them with commas.
Note that the bot must be invited to the channel.
It can be overwritten with the command line argument <code>-SLACK_CHANNELS</code>, but be careful if multiple SlackReporters are defined, they will all be overwritten with the same value.</dd>
<dt>Mention Sub Team IDs</dt><dd>Comma-separated sub team IDs to mention when posting error reports.</dd>
<dt>Mention User Group IDs</dt><dd>Comma-separated user group IDs to mention when posting error reports.</dd>
<dt>Add @here</dt><dd>Add @here to the post when posting error reports.</dd>
<dt>Lead Text</dt><dd>Lead text for error reports. It is used in OS notifications. You can specify placeholders like a "{message}".</dd>
<dt>Message</dt><dd>Message body template for error reports. You can specify placeholders like a "{message}".</dd>
Expand Down
2 changes: 1 addition & 1 deletion README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ Slackにレポート送信するReporterです。
<dt>Slackチャンネル</dt><dd>通知を送るチャンネル(省略時は通知されない)。カンマ区切りで複数指定できます。
なお、チャンネルにはBotを招待しておく必要があります。
コマンドライン引数 <code>-SLACK_CHANNELS</code> で上書きできますが、複数のSlackReporterを定義しているとき、すべて同じ値で上書きされますので注意してください。</dd>
<dt>メンション宛先チームID</dt><dd>エラー終了時に送信する通知をメンションするチームのIDをカンマ区切りで指定します</dd>
<dt>メンション宛先ユーザーグループID</dt><dd>エラー終了時に送信する通知をメンションするユーザーグループのIDをカンマ区切りで指定します</dd>
<dt>@hereをつける</dt><dd>エラー終了時に送信する通知に@hereを付けます</dd>
<dt>リード文</dt><dd>エラー終了時に送信する通知のリード文。OSの通知に使用されます。"{message}" のようなプレースホルダーを指定できます</dd>
<dt>メッセージ</dt><dd>エラー終了時に送信するメッセージ本文のテンプレート。"{message}" のようなプレースホルダーを指定できます</dd>
Expand Down
4 changes: 2 additions & 2 deletions Runtime/Reporters/SlackReporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class SlackReporter : AbstractReporter
public string slackChannels;

/// <summary>
/// Comma-separated sub team IDs to mention when posting error reports.
/// Comma-separated user group IDs to mention when posting error reports.
/// </summary>
public string mentionSubTeamIDs;

Expand Down Expand Up @@ -63,7 +63,7 @@ public class SlackReporter : AbstractReporter
public bool postOnNormally;

/// <summary>
/// Comma-separated sub team IDs to mention when posting completion reports.
/// Comma-separated user group IDs to mention when posting completion reports.
/// </summary>
public string mentionSubTeamIDsOnNormally;

Expand Down

0 comments on commit b1ea5e5

Please sign in to comment.