~ubuntu-branches/ubuntu/edgy/libcgi-formbuilder-perl/edgy

« back to all changes in this revision

Viewing changes to lib/CGI/FormBuilder/Messages/ja.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2006-05-28 15:47:27 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060528154727-u26u5nqd0btamxpm
Tags: 3.03.01-1
* New upstream release.
  + optgroups bugfix for complex arrays.
  + removal of HTML::Entities support due to utf8 issues. Closes:
    bug#338369 (thanks to Todd Charron <tcharron@badkarma.mine.nu> for
    reporting, and to several others for working on workarounds).
  + new es_ES Messages module with better translations
  + a patch from Mark Hedges to enable plugin modules for mailresults()
* Update local cdbs snippet copyright-check.mk:
  + Broaden scan to also look for "(c)" by default.
  + Make egrep options configurable.
* Bump up standards-version to 3.7.2 (no changes needed).
* Update debian/copyright_hints (nothing remarkable).
* Bump up debian/watch to version 3 syntax, and use uversionmangle
  instead of multiple parantheses (both work using uscan locally, but
  the later hopefully works with qa.debian.org too).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# Copyright (c) 2005 Nate Wiger <nate@wiger.org>, Thilo Planz <thilo@cpan.org>.
 
3
# Use "perldoc CGI::FormBuilder::Messages" to read full documentation.
 
4
 
 
5
package CGI::FormBuilder::Messages::locale;
 
6
 
 
7
=head1 NAME
 
8
 
 
9
CGI::FormBuilder::Messages::ja_JP - Japanese messages for FormBuilder
 
10
 
 
11
=head1 SYNOPSIS
 
12
 
 
13
    use CGI::FormBuilder;
 
14
 
 
15
    my $form = CGI::FormBuilder->new(messages => 'auto');
 
16
 
 
17
=cut
 
18
 
 
19
use strict;
 
20
use utf8;
 
21
 
 
22
our $VERSION = '3.03';
 
23
 
 
24
# Simply create a hash of messages for this language
 
25
our %MESSAGES = (
 
26
    lang                  => 'ja_JP',
 
27
    charset               => 'utf-8',
 
28
 
 
29
        js_invalid_start      => '%s個の入力エラーがあります。',
 
30
    js_invalid_end        => 'もう一度確認して正しい内容を入力して下さい。',
 
31
 
 
32
    js_invalid_input      => '%sに正しい値を入力して下さい。',
 
33
    js_invalid_select     => '%sが選択されていません。',
 
34
    js_invalid_multiple   => '%sからひとつ以上を選択して下さい。',
 
35
    js_invalid_checkbox   => '%sがチェックされていません。',
 
36
    js_invalid_radio      => '%sが選択されていません。',
 
37
    js_invalid_password   => '%sに正しい値を入力して下さい。',
 
38
    js_invalid_textarea   => '%sは必須入力です。',
 
39
    js_invalid_file       => '%sは指定されたファイルを選択して下さい。',
 
40
    js_invalid_default    => '%sに正しい値を入力して下さい。',
 
41
 
 
42
    js_noscript           => 'JavaScriptを有効にして下さい。'
 
43
                                                . 'またはJavaScript対応の最新のブラウザを使用して下さい。',
 
44
    form_required_text    => '%s太字%sの項目は必須項目です。',
 
45
 
 
46
    form_invalid_text     => 'あなたの入力した項目のうち、%s個のエラーがあります。'
 
47
                                                . '項目の下にある%sエラーメッセージ%sに従い正しい値を入力して下さい。',
 
48
 
 
49
    form_invalid_input    => '正しい値を入力して下さい。',
 
50
    form_invalid_hidden   => '正しい値を入力して下さい。',
 
51
    form_invalid_select   => '一覧から選択して下さい。',
 
52
    form_invalid_checkbox => 'チェックボックスの中から選択して下さい。',
 
53
    form_invalid_radio    => 'ラジオボタンの中から選択して下さい。',
 
54
    form_invalid_password => '正しい値を入力して下さい。',
 
55
    form_invalid_textarea => '必須入力です。',
 
56
    form_invalid_file     => '正しいファイルを選択して下さい。',
 
57
    form_invalid_default  => '正しい値を入力して下さい。',
 
58
 
 
59
        form_grow_default     => '%sを追加する',
 
60
        form_other_default    => 'その他',
 
61
    form_select_default   => '選択して下さい',
 
62
    form_submit_default   => '送信',
 
63
    form_reset_default    => 'リセット',
 
64
    
 
65
    form_confirm_text     => '%sの入力内容を受け付けました。ありがとうございます。',
 
66
 
 
67
    mail_confirm_subject  => '%sの入力確認',
 
68
    mail_confirm_text     => <<EOT,
 
69
フォームの送信を受け付けました [%s]。
 
70
 
 
71
質問等ございます方は、このメールをそのまま返信して下さい。
 
72
EOT
 
73
    mail_results_subject  => '%sの送信内容',
 
74
);
 
75
 
 
76
# This method should remain unchanged
 
77
sub messages {
 
78
    return wantarray ? %MESSAGES : \%MESSAGES;
 
79
}
 
80
 
 
81
1;
 
82
__END__
 
83
 
 
84
=head1 DESCRIPTION
 
85
 
 
86
This module contains Japanese messages for FormBuilder.
 
87
 
 
88
If the C<messages> option is set to C<auto> (the recommended but NOT default
 
89
setting), these messages will automatically be displayed to Japanese clients:
 
90
 
 
91
    my $form = CGI::FormBuilder->new(messages => 'auto');
 
92
 
 
93
To force display of these messages, use the following option:
 
94
 
 
95
    my $form = CGI::FormBuilder->new(messages => ':ja_JP');
 
96
 
 
97
Thanks to Toru Yamaguchi and Thilo Planz for the Japanese translation.
 
98
 
 
99
 
 
100
=head1 REVISION
 
101
 
 
102
$Id: ja_JP.pm,v 1.12 2006/02/24 01:42:29 nwiger Exp $
 
103
 
 
104
=head1 AUTHOR
 
105
 
 
106
Copyright (c) 2005-2006 Nate Wiger <nate@wiger.org>, Thilo Planz <thilo@cpan.org>.
 
107
All Rights Reserved.
 
108
 
 
109
This module is free software; you may copy this under the terms of
 
110
the GNU General Public License, or the Artistic License, copies of
 
111
which should have accompanied your Perl kit.
 
112
 
 
113