| 1 |
use strict; |
| 2 |
use utf8; |
| 3 |
|
| 4 |
our $Lang //= 'en'; |
| 5 |
|
| 6 |
my $texts = { |
| 7 |
q[.] => { |
| 8 |
ja => '。', |
| 9 |
}, |
| 10 |
q[A user who is invited by an administrator of the group can join the group.] => { |
| 11 |
ja => q[グループの管理者が招待した人だけがグループに参加できます。], |
| 12 |
}, |
| 13 |
q[A user who is invited or approved by an administrator of the group can join the group.] => { |
| 14 |
ja => q[グループの管理者が招待した人と承認した人だけがグループに参加できます。], |
| 15 |
}, |
| 16 |
'Administrative group' => { |
| 17 |
ja => q[管理者グループ], |
| 18 |
}, |
| 19 |
q[Any user can join the group.] => { |
| 20 |
ja => q[誰でもこのグループに参加できます。], |
| 21 |
}, |
| 22 |
'Approve' => { |
| 23 |
ja => '承認', |
| 24 |
}, |
| 25 |
'Cancel invitation' => { |
| 26 |
ja => '招待取消', |
| 27 |
}, |
| 28 |
'Cancel the request' => { |
| 29 |
ja => '申請取消', |
| 30 |
}, |
| 31 |
'Caution!' => { |
| 32 |
ja => '警告!', |
| 33 |
}, |
| 34 |
Change => { |
| 35 |
ja => '変更', |
| 36 |
}, |
| 37 |
Create => { |
| 38 |
ja => '作成', |
| 39 |
}, |
| 40 |
'Create a new group' => { |
| 41 |
ja => '新しいグループの作成', |
| 42 |
}, |
| 43 |
'Create a new user account' => { |
| 44 |
ja => '新しい利用者アカウントの作成', |
| 45 |
}, |
| 46 |
Description => { |
| 47 |
ja => '説明', |
| 48 |
}, |
| 49 |
'Disable account' => { |
| 50 |
ja => q[アカウントの無効化], |
| 51 |
}, |
| 52 |
q[Do you really want to join this group?] => { |
| 53 |
ja => q[本当にこのグループに参加しますか?], |
| 54 |
}, |
| 55 |
q[Don't expose any confidential data.] => { |
| 56 |
en => q[Though these properties are only accessible to administrators, you are advised not to expose any confidential data.], |
| 57 |
ja => q[これらの特性は管理者のみが見ることができますが、秘密の情報は記述しないことをお勧めします。], |
| 58 |
}, |
| 59 |
'Enable this account' => { |
| 60 |
ja => 'このアカウントを有効にする', |
| 61 |
}, |
| 62 |
Error => { |
| 63 |
ja => '誤り', |
| 64 |
}, |
| 65 |
Forbidden => { |
| 66 |
en => 'Your access is forbidden', |
| 67 |
ja => 'アクセスは認められていません', |
| 68 |
}, |
| 69 |
q[Forbidden (You've logged in as %s)] => { |
| 70 |
en => q[Your access is forbidden (you've logged in as %s)], |
| 71 |
ja => 'アクセスは認められていません (%s としてログインしています)', |
| 72 |
}, |
| 73 |
'Formal members' => { |
| 74 |
ja => '正式な参加者', |
| 75 |
}, |
| 76 |
'Full name' => { |
| 77 |
ja => '名前', |
| 78 |
}, |
| 79 |
Group => { |
| 80 |
ja => 'グループ', |
| 81 |
}, |
| 82 |
Groups => { |
| 83 |
ja => 'グループ', |
| 84 |
}, |
| 85 |
'Group %s' => { |
| 86 |
ja => 'グループ %s', |
| 87 |
}, |
| 88 |
'Group %s registered' => { |
| 89 |
ja => 'グループ %s を登録しました。', |
| 90 |
}, |
| 91 |
'Group icon URL' => { |
| 92 |
ja => 'グループのアイコンの URL', |
| 93 |
}, |
| 94 |
'Group id' => { |
| 95 |
en => 'Group ID', |
| 96 |
ja => 'グループ識別子', |
| 97 |
}, |
| 98 |
'Group id %s is already used' => { |
| 99 |
en => 'Group ID %s is already used', |
| 100 |
ja => 'グループ識別子 %s は既に使われています', |
| 101 |
}, |
| 102 |
'Group id %s is invalid; use characters [0-9a-z-]{4,20}' => { |
| 103 |
en => 'Group ID %s is invalid; use 4..20 letters "a".."z", "0".."9", and "-"', |
| 104 |
ja => 'グループ識別子 %s は正しくありません。「a」〜「z」、「0」〜「9」、「-」で構成される 4〜20 文字の文字列でなければなりません', |
| 105 |
}, |
| 106 |
'Groups you can join now (without approval)' => { |
| 107 |
ja => 'すぐに参加できる (許可不要の) グループ', |
| 108 |
}, |
| 109 |
'Groups you can request to join (approval required to join)' => { |
| 110 |
ja => '参加申請できる (参加許可が必要な) グループ', |
| 111 |
}, |
| 112 |
'Groups you have been invited but not joined yet, or you have left' => { |
| 113 |
ja => '招待されているグループ、脱退したグループ', |
| 114 |
}, |
| 115 |
'Groups you have joined' => { |
| 116 |
ja => '参加中のグループ', |
| 117 |
}, |
| 118 |
'Groups you have requested to join but not approved yet' => { |
| 119 |
ja => '参加申請中 (未許可) のグループ', |
| 120 |
}, |
| 121 |
Kick => { |
| 122 |
ja => '追放', |
| 123 |
}, |
| 124 |
Invite => { |
| 125 |
ja => '招待', |
| 126 |
}, |
| 127 |
'Invite a user' => { |
| 128 |
ja => '招待', |
| 129 |
}, |
| 130 |
'Join this group' => { |
| 131 |
ja => 'このグループに入る', |
| 132 |
}, |
| 133 |
'Joining the group %s' => { |
| 134 |
ja => 'グループ %s への参加', |
| 135 |
}, |
| 136 |
'Leave this group' => { |
| 137 |
ja => 'このグループから抜ける', |
| 138 |
}, |
| 139 |
'Mail address' => { |
| 140 |
ja => 'メイル・アドレス', |
| 141 |
}, |
| 142 |
'Member approval policy' => { |
| 143 |
ja => '参加の承認', |
| 144 |
}, |
| 145 |
Members => { |
| 146 |
ja => '参加者', |
| 147 |
}, |
| 148 |
'New password' => { |
| 149 |
ja => '新しい合言葉', |
| 150 |
}, |
| 151 |
No => { |
| 152 |
ja => 'いいえ', |
| 153 |
}, |
| 154 |
'Not found' => { |
| 155 |
ja => '見つかりません', |
| 156 |
}, |
| 157 |
q[Once you disable your own account, you cannot enable your account by yourself.] => { |
| 158 |
ja => q[自分のアカウントを無効にすると、自分で再度有効にすることはできません。], |
| 159 |
}, |
| 160 |
Password => { |
| 161 |
ja => '合言葉', |
| 162 |
}, |
| 163 |
'Password must be longer than 3 characters' => { |
| 164 |
ja => '合言葉は4文字以上でなければなりません。', |
| 165 |
}, |
| 166 |
Properties => { |
| 167 |
ja => '特性', |
| 168 |
}, |
| 169 |
Save => { |
| 170 |
ja => '保存', |
| 171 |
}, |
| 172 |
'See %s.' => { |
| 173 |
ja => '%sをご覧ください。', |
| 174 |
}, |
| 175 |
'the group information page' => { |
| 176 |
ja => 'グループ情報の頁', |
| 177 |
}, |
| 178 |
'The new group is created successfully.' => { |
| 179 |
ja => '新しいグループを作成しました。', |
| 180 |
}, |
| 181 |
'Two passwords you input are different' => { |
| 182 |
ja => '2つの合言葉が異なります', |
| 183 |
}, |
| 184 |
'Type 4 characters at minimum' => { |
| 185 |
ja => '最低4文字入力してください。', |
| 186 |
}, |
| 187 |
'type again' => { |
| 188 |
ja => 'もう一度', |
| 189 |
}, |
| 190 |
q[Use [0-9a-z-]{4,20}.] => { |
| 191 |
en => q[Use a string of characters 'a'..'z', '0'..'9', and '-', whose length is in the range 4..10 (inclusive)], |
| 192 |
ja => q[文字「a」〜「z」、「0」〜「9」、「-」を使って 4〜10 文字の文字列を指定してください。], |
| 193 |
}, |
| 194 |
'User %s' => { |
| 195 |
ja => '%s さん', |
| 196 |
}, |
| 197 |
'User %s registered' => { |
| 198 |
ja => '利用者 %s を登録しました', |
| 199 |
}, |
| 200 |
'User id' => { |
| 201 |
ja => '利用者識別子', |
| 202 |
}, |
| 203 |
'User id %s is already used' => { |
| 204 |
ja => '利用者識別子 %s は既に使われています', |
| 205 |
}, |
| 206 |
'User id %s is invalid; use characters [0-9a-z-]{4,20}' => { |
| 207 |
en => 'User ID %s is invalid; use 4..20 letters "a".."z", "0".."9", and "-"', |
| 208 |
ja => '利用者識別子 %s は正しくありません。「a」〜「z」、「0」〜「9」、「-」で構成される 4〜20 文字の文字列でなければなりません', |
| 209 |
}, |
| 210 |
'Users who are invited but not joined or are leaved' => { |
| 211 |
ja => '招待済みで未参加の人達、脱退した人達', |
| 212 |
}, |
| 213 |
'Users who are waiting for the approval to join' => { |
| 214 |
ja => '参加申請中 (許可待ち) の人達', |
| 215 |
}, |
| 216 |
'Web site URL' => { |
| 217 |
ja => 'Web サイト URL', |
| 218 |
}, |
| 219 |
Yes => { |
| 220 |
ja => 'はい', |
| 221 |
}, |
| 222 |
'You can change the password.' => { |
| 223 |
ja => '合言葉を変更できます。', |
| 224 |
}, |
| 225 |
'your user account information page' => { |
| 226 |
ja => '利用者アカウント情報の頁', |
| 227 |
}, |
| 228 |
'Your user account is created successfully.' => { |
| 229 |
ja => '利用者アカウントを作成しました。', |
| 230 |
}, |
| 231 |
}; |
| 232 |
|
| 233 |
sub print_text ($;$) { |
| 234 |
my ($s, $t) = split /%s/, $texts->{$_[0]}->{$Lang} // $_[0], 2; |
| 235 |
print '', htescape ($s); |
| 236 |
if (defined $t) { |
| 237 |
$_[1]->(); |
| 238 |
print '', htescape ($t); |
| 239 |
} |
| 240 |
} # print_text |
| 241 |
|
| 242 |
1; |