|
|
|
@ -24,8 +24,7 @@ public class PluginErrorDesignReminder implements PluginErrorReminder {
|
|
|
|
|
private static final String MESSAGE_ID = "plugin-invalidate-remind"; |
|
|
|
|
private static final String COMMA = "、"; |
|
|
|
|
private static final String COLON = ":"; |
|
|
|
|
private static final String NEW_LINE_TAG_HEAD = "<br>"; |
|
|
|
|
private static final String NEW_LINE_TAG_TAIL = "</br>"; |
|
|
|
|
private static final String NEW_LINE_TAG = "<br/>"; |
|
|
|
|
|
|
|
|
|
private static class Holder { |
|
|
|
|
private static final PluginErrorDesignReminder INSTANCE = new PluginErrorDesignReminder(); |
|
|
|
@ -81,16 +80,13 @@ public class PluginErrorDesignReminder implements PluginErrorReminder {
|
|
|
|
|
*/ |
|
|
|
|
private String generateMessageContent(List<String> invalidatePluginNames) { |
|
|
|
|
return new StringBuilder() |
|
|
|
|
.append(NEW_LINE_TAG_HEAD) |
|
|
|
|
.append(Toolkit.i18nText("Fine-Design_Plugin_Embed_Notice")) |
|
|
|
|
.append(COLON) |
|
|
|
|
.append(NEW_LINE_TAG_TAIL) |
|
|
|
|
.append(NEW_LINE_TAG_HEAD) |
|
|
|
|
.append(NEW_LINE_TAG) |
|
|
|
|
.append(StableUtils.join(invalidatePluginNames, COMMA)) |
|
|
|
|
.append(NEW_LINE_TAG_TAIL) |
|
|
|
|
.append(NEW_LINE_TAG_HEAD) |
|
|
|
|
.append(NEW_LINE_TAG) |
|
|
|
|
.append(Toolkit.i18nText("Fine-Design_Plugin_Embed_Description")) |
|
|
|
|
.append(NEW_LINE_TAG_TAIL) |
|
|
|
|
.append(NEW_LINE_TAG) |
|
|
|
|
.toString(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|