Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Add message to implement #126.
Browse files Browse the repository at this point in the history
  • Loading branch information
akiko-pusu committed Feb 11, 2020
1 parent 725e0b5 commit a18aae5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ en:
label_more_info: "Link to more information."
banner_admin_group: "Banner Admin Group"
description_for_banner_admin_group: "Specify a group that can manage the global banner without admin rights."
setting_banner_display_for: "Display for"
label_anonymous_only: "Anonymous users"
label_authenticated_only: "Authenticated users"
label_display_all: "All"
5 changes: 4 additions & 1 deletion config/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ ja:
label_more_info: "詳細はこちら。"
banner_admin_group: "バナー管理者グループ"
description_for_banner_admin_group: "バナー管理者グループのユーザは、Redmine全体の管理者権限なしでもグローバルバナーを編集できるようになります。"

setting_banner_display_for: "表示対象"
label_anonymous_only: "ログインしていないユーザのみ"
label_authenticated_only: "ログインユーザのみ"
label_display_all: "全てのユーザ"
9 changes: 9 additions & 0 deletions script/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@ definitions:
banner_description:
type: string
example: "Message for Global Banner"
display_for:
type: "string"
example: "all"
enum: [all, anonymous, authenticated]
description: >
Display for:
* `all` - For all users
* `anonymous` - For anonymous users
* `authenticated` - For authenticated users
display_part:
type: "string"
example: "both"
Expand Down

0 comments on commit a18aae5

Please sign in to comment.