Skip to content

Commit

Permalink
friendly error message
Browse files Browse the repository at this point in the history
  • Loading branch information
oov committed Feb 27, 2024
1 parent 8d0a363 commit 0c92b47
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/c/gcmzdrops.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ static BOOL wndproc_init(HWND const window) {
char const *apimsg = NULL;
if (eis_hr(err, HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS))) {
apimsg = gettext("This error mainly occurs when multiple instances of AviUtl are running.\n"
"Please close all instances of AviUtl and launch only one.");
"If you need external integration API, please close all instances of AviUtl and start only one instance.\n"
"If you do not need external integration API, you can ignore this message.");
efree(&err);
}
gcmz_error_message_box(err,
Expand Down
6 changes: 4 additions & 2 deletions src/i18n/ja.po.DO_NOT_EDIT
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,12 @@ msgstr ""

msgid ""
"This error mainly occurs when multiple instances of AviUtl are running.\n"
"Please close all instances of AviUtl and launch only one."
"If you need external integration API, please close all instances of AviUtl and start only one instance.\n"
"If you do not need external integration API, you can ignore this message."
msgstr ""
"このエラーは主に AviUtl を多重起動した場合に発生します。\n"
"一度すべての AviUtl を閉じて、ひとつだけを起動してください。"
"もし外部連携 API が必要な場合は、一度すべての AviUtl を閉じて、ひとつだけを起動してください。\n"
"外部連携 API が必要ない場合は、このメッセージは無視して構いません。"

msgid "This plug-in is not compatible with extext.auf."
msgstr "字幕アシストプラグイン extext.auf とは互換性がありません。"
Expand Down
8 changes: 5 additions & 3 deletions src/i18n/zh_CN.po.DO_NOT_EDIT
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,12 @@ msgstr ""

msgid ""
"This error mainly occurs when multiple instances of AviUtl are running.\n"
"Please close all instances of AviUtl and launch only one."
"If you need external integration API, please close all instances of AviUtl and start only one instance.\n"
"If you do not need external integration API, you can ignore this message."
msgstr ""
"此错误主要发生在多个AviUtl实例同时运行时。\n"
"请关闭所有AviUtl实例,只启动一个。"
"这个错误主要发生在多个AviUtl实例同时运行时。\n"
"如果你需要外部集成API,请关闭所有AviUtl实例,只启动一个实例。\n"
"如果你不需要外部集成API,你可以忽略这个消息。"

msgid "This plug-in is not compatible with extext.auf."
msgstr "此插件不兼容extext.auf。"
Expand Down

0 comments on commit 0c92b47

Please sign in to comment.