diff --git a/Editor/Localization/ja.po b/Editor/Localization/ja.po index 1a614d2..e30cd42 100644 --- a/Editor/Localization/ja.po +++ b/Editor/Localization/ja.po @@ -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" @@ -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" diff --git a/Editor/UI/Reporters/SlackReporterEditor.cs b/Editor/UI/Reporters/SlackReporterEditor.cs index 01dd571..1fcf6b9 100644 --- a/Editor/UI/Reporters/SlackReporterEditor.cs +++ b/Editor/UI/Reporters/SlackReporterEditor.cs @@ -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; @@ -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; diff --git a/README.md b/README.md index 6473bfb..c2b0f72 100644 --- a/README.md +++ b/README.md @@ -518,7 +518,7 @@ The instance of this Reporter (.asset file) can have the following settings.
Slack Channels
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 -SLACK_CHANNELS, but be careful if multiple SlackReporters are defined, they will all be overwritten with the same value.
-
Mention Sub Team IDs
Comma-separated sub team IDs to mention when posting error reports.
+
Mention User Group IDs
Comma-separated user group IDs to mention when posting error reports.
Add @here
Add @here to the post when posting error reports.
Lead Text
Lead text for error reports. It is used in OS notifications. You can specify placeholders like a "{message}".
Message
Message body template for error reports. You can specify placeholders like a "{message}".
diff --git a/README_ja.md b/README_ja.md index eb2e55f..6787838 100644 --- a/README_ja.md +++ b/README_ja.md @@ -522,7 +522,7 @@ Slackにレポート送信するReporterです。
Slackチャンネル
通知を送るチャンネル(省略時は通知されない)。カンマ区切りで複数指定できます。 なお、チャンネルにはBotを招待しておく必要があります。 コマンドライン引数 -SLACK_CHANNELS で上書きできますが、複数のSlackReporterを定義しているとき、すべて同じ値で上書きされますので注意してください。
-
メンション宛先チームID
エラー終了時に送信する通知をメンションするチームのIDをカンマ区切りで指定します
+
メンション宛先ユーザーグループID
エラー終了時に送信する通知をメンションするユーザーグループのIDをカンマ区切りで指定します
@hereをつける
エラー終了時に送信する通知に@hereを付けます
リード文
エラー終了時に送信する通知のリード文。OSの通知に使用されます。"{message}" のようなプレースホルダーを指定できます
メッセージ
エラー終了時に送信するメッセージ本文のテンプレート。"{message}" のようなプレースホルダーを指定できます
diff --git a/Runtime/Reporters/SlackReporter.cs b/Runtime/Reporters/SlackReporter.cs index e56532c..12bfac8 100644 --- a/Runtime/Reporters/SlackReporter.cs +++ b/Runtime/Reporters/SlackReporter.cs @@ -26,7 +26,7 @@ public class SlackReporter : AbstractReporter public string slackChannels; /// - /// Comma-separated sub team IDs to mention when posting error reports. + /// Comma-separated user group IDs to mention when posting error reports. /// public string mentionSubTeamIDs; @@ -63,7 +63,7 @@ public class SlackReporter : AbstractReporter public bool postOnNormally; /// - /// Comma-separated sub team IDs to mention when posting completion reports. + /// Comma-separated user group IDs to mention when posting completion reports. /// public string mentionSubTeamIDsOnNormally;