#2206 add messages

This commit is contained in:
Shinsuke Sugaya 2019-08-18 17:26:37 +09:00
parent 2f9ae1412c
commit bfcd282291
7 changed files with 27 additions and 43 deletions

View file

@ -347,12 +347,6 @@ public class FessMessages extends FessLabels {
/** The key of the message: {0} is not supported. */
public static final String ERRORS_file_is_not_supported = "{errors.file_is_not_supported}";
/** The key of the message: Failed to install {0} plugin. */
public static final String ERRORS_failed_to_install_plugin = "{errors.failed_to_install_plugin}";
/** The key of the message: Failed to delete {0} plugin. */
public static final String ERRORS_failed_to_delete_plugin = "{errors.failed_to_delete_plugin}";
/** The key of the message: The given query has unknown condition. */
public static final String ERRORS_invalid_query_unknown = "{errors.invalid_query_unknown}";
@ -2040,36 +2034,6 @@ public class FessMessages extends FessLabels {
return this;
}
/**
* Add the created action message for the key 'errors.failed_to_install_plugin' with parameters.
* <pre>
* message: Failed to install {0} plugin.
* </pre>
* @param property The property name for the message. (NotNull)
* @param arg0 The parameter arg0 for message. (NotNull)
* @return this. (NotNull)
*/
public FessMessages addErrorsFailedToInstallPlugin(String property, String arg0) {
assertPropertyNotNull(property);
add(property, new UserMessage(ERRORS_failed_to_install_plugin, arg0));
return this;
}
/**
* Add the created action message for the key 'errors.failed_to_delete_plugin' with parameters.
* <pre>
* message: Failed to delete {0} plugin.
* </pre>
* @param property The property name for the message. (NotNull)
* @param arg0 The parameter arg0 for message. (NotNull)
* @return this. (NotNull)
*/
public FessMessages addErrorsFailedToDeletePlugin(String property, String arg0) {
assertPropertyNotNull(property);
add(property, new UserMessage(ERRORS_failed_to_delete_plugin, arg0));
return this;
}
/**
* Add the created action message for the key 'errors.invalid_query_unknown' with parameters.
* <pre>

View file

@ -975,7 +975,6 @@ labels.diagnostic_logs=Diagnostic
labels.download_diagnostic_logs_button=Download Logs
labels.reload_doc_index=Reload Doc Index
labels.reload_doc_index_button=Reload
labels.plugin_title=Plugin
labels.plugin_list_name=Plugin List
labels.plugin_type=Type

View file

@ -192,6 +192,7 @@ labels.menu_access_token=Access Token
labels.menu_maintenance=Maintenance
labels.menu_related_content=Related Content
labels.menu_related_query=Related Query
labels.menu_plugin=Plugin
labels.sidebar.placeholder_search=Search...
labels.sidebar.menu=MENU
labels.footer.copyright=&copy;2019 <a href="https://github.com/codelibs">CodeLibs Project</a>.
@ -824,8 +825,8 @@ labels.user_given_name=First Name
labels.givenName=First Name
labels.user_surname=Last Name
labels.surame=Last Name
labels.user_mail=E-Mail
labels.mail=E-Mail
labels.user_mail=E-mail
labels.mail=E-mail
labels.user_employeeNumber=Employee Number
labels.employeeNumber=Employee Number
labels.user_telephoneNumber=Telephone Number
@ -906,7 +907,7 @@ labels.esreq_configuration=Request to elasticsearch
labels.esreq_request_file=Request File
labels.requestFile=Request File
labels.esreq_button_upload=Send
labels.facet_is_not_found=No match.
labels.facet_is_not_found=No match
labels.doc_score=Score:
labels.development_mode_warning=Running as Development mode. For production use, please install a standalone elasticsearch server.
labels.advance=Advance
@ -974,3 +975,12 @@ labels.diagnostic_logs=Diagnostic
labels.download_diagnostic_logs_button=Download Logs
labels.reload_doc_index=Reload Doc Index
labels.reload_doc_index_button=Reload
labels.plugin_title=Plugin
labels.plugin_list_name=Plugin List
labels.plugin_type=Type
labels.plugin_name=Name
labels.plugin_version=Version
labels.plugin_delete=Delete
labels.plugin_install=Install
labels.plugin_install_title=Install Plugin
labels.crud_button_install=Install

View file

@ -185,6 +185,7 @@ labels.menu_maintenance=メンテナンス
labels.menu_related_content=関連コンテンツ
labels.menu_related_query=関連クエリー
labels.sidebar.placeholder_search=検索...
labels.menu_plugin=プラグイン
labels.sidebar.menu=メニュー
labels.footer.copyright=&copy;2019 <a href="https://github.com/codelibs">CodeLibs Project</a>.
labels.search=検索
@ -974,3 +975,12 @@ labels.diagnostic_logs=診断
labels.download_diagnostic_logs_button=ログのダウンロード
labels.reload_doc_index=ドキュメントインデックスのリロード
labels.reload_doc_index_button=リロード
labels.plugin_title=プラグイン
labels.plugin_list_name=プラグイン一覧
labels.plugin_type=種別
labels.plugin_name=名前
labels.plugin_version=バージョン
labels.plugin_delete=削除
labels.plugin_install=インストール
labels.plugin_install_title=プラグインのインストール
labels.crud_button_install=インストール

View file

@ -137,15 +137,12 @@ errors.could_not_delete_logged_in_user=Could not delete logged in user.
errors.unauthorized_request=Unauthorized request.
errors.failed_to_print_thread_dump=Failed to print thread dump.
errors.file_is_not_supported={0} is not supported.
errors.failed_to_install_plugin=Failed to install {0} plugin.
errors.failed_to_delete_plugin=Failed to delete {0} plugin.
errors.invalid_query_unknown=The given query has unknown condition.
errors.invalid_query_parse_error=The given query is invalid.
errors.invalid_query_sort_value=The given sort ({0}) is invalid.
errors.invalid_query_unsupported_sort_field=The given sort ({0}) is not supported.
errors.invalid_query_unsupported_sort_order=The given sort order ({0}) is not supported.
errors.invalid_query_unsupported_sort_order=The given sort order ({0}) is not supported.
errors.crud_invalid_mode=Invalid mode(expected value is {0}, but it's {1}).
errors.crud_failed_to_create_instance=Failed to create a new data.

View file

@ -180,6 +180,8 @@ success.started_data_update=Started data update process.
success.reindex_started=Started reindexing.
success.bulk_process_started=Bulk process is started.
success.print_thread_dump=Printed thread dump to log file.
success.install_plugin=Installing {0} plugin.
success.delete_plugin=Deleting {0} plugin.
success.crud_create_crud_table=Created data.
success.crud_update_crud_table=Updated data.

View file

@ -173,6 +173,8 @@ success.started_data_update=データ更新処理を開始しました。
success.reindex_started=再インデクシングを開始しました。
success.bulk_process_started=バルク処理を開始しました。
success.print_thread_dump=スレッドダンプをログファイルに出力しました。
success.install_plugin=プラグイン {0} をインストールしています。
success.delete_plugin=プラグイン {0} を削除しています。
success.crud_create_crud_table = データを作成しました。
success.crud_update_crud_table = データを更新しました。