~zubairassad89/sahana-eden/vms_gsoc

« back to all changes in this revision

Viewing changes to static/mfbase/ext/source/locale/ext-lang-ja.js

  • Committer: Fran Boon
  • Date: 2008-12-09 22:35:23 UTC
  • Revision ID: flavour@partyvibe.com-20081209223523-fcs5k95jjk0uqo0z
Initial import of work done so far

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Japanese translation
 
3
 * By tyama
 
4
 * 04-08-2007, 05:49 AM
 
5
 */
 
6
 
 
7
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">読み込み中...</div>';
 
8
 
 
9
if(Ext.View){
 
10
  Ext.View.prototype.emptyText = "";
 
11
}
 
12
 
 
13
if(Ext.grid.GridPanel){
 
14
  Ext.grid.GridPanel.prototype.ddText = "{0} 行選択";
 
15
}
 
16
 
 
17
if(Ext.TabPanelItem){
 
18
  Ext.TabPanelItem.prototype.closeText = "このタブを閉じる";
 
19
}
 
20
 
 
21
if(Ext.form.Field){
 
22
  Ext.form.Field.prototype.invalidText = "フィールドの値が不正です。";
 
23
}
 
24
 
 
25
if(Ext.LoadMask){
 
26
    Ext.LoadMask.prototype.msg = "読み込み中...";
 
27
}
 
28
 
 
29
Date.monthNames = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月','11月','12月'];
 
30
 
 
31
Date.dayNames = [
 
32
 "日",
 
33
 "月",
 
34
 "火",
 
35
 "水",
 
36
 "木",
 
37
 "金",
 
38
 "土"];
 
39
 
 
40
if(Ext.MessageBox){
 
41
  Ext.MessageBox.buttonText = {
 
42
    ok : "OK",
 
43
    cancel : "キャンセル",
 
44
    yes : "はい",
 
45
    no : "いいえ"
 
46
  };
 
47
}
 
48
 
 
49
if(Ext.util.Format){
 
50
  Ext.util.Format.date = function(v, format){
 
51
     if(!v) return "";
 
52
     if(!(v instanceof Date)) v = new Date(Date.parse(v));
 
53
     return v.dateFormat(format || "Y/m/d");
 
54
  };
 
55
}
 
56
 
 
57
if(Ext.DatePicker){
 
58
  Ext.apply(Ext.DatePicker.prototype, {
 
59
     todayText         : "今日",
 
60
     minText           : "選択した日付は最小値以下です。",
 
61
     maxText           : "選択した日付は最大値以上です。",
 
62
     disabledDaysText  : "",
 
63
     disabledDatesText : "",
 
64
     monthNames        : Date.monthNames,
 
65
     dayNames          : Date.dayNames,
 
66
     nextText          : '次月へ (コントロール+右)',
 
67
     prevText          : '前月へ (コントロール+左)',
 
68
     monthYearText     : '月選択 (コントロール+上/下で年移動)',
 
69
     todayTip          : "{0} (スペースキー)",
 
70
     format            : "Y/m/d"
 
71
  });
 
72
}
 
73
 
 
74
if(Ext.PagingToolbar){
 
75
  Ext.apply(Ext.PagingToolbar.prototype, {
 
76
     beforePageText : "ページ",
 
77
     afterPageText  : "/ {0}",
 
78
     firstText      : "最初のページ",
 
79
     prevText       : "前のページ",
 
80
     nextText       : "次のページ",
 
81
     lastText       : "最後のページ",
 
82
     refreshText    : "更新",
 
83
     displayMsg     : "{2} 件中 {0} - {1} を表示",
 
84
     emptyMsg       : '表示するデータがありません。'
 
85
  });
 
86
}
 
87
 
 
88
if(Ext.form.TextField){
 
89
  Ext.apply(Ext.form.TextField.prototype, {
 
90
     minLengthText : "このフィールドの最小値は {0} です。",
 
91
     maxLengthText : "このフィールドの最大値は {0} です。",
 
92
     blankText     : "必須項目です。",
 
93
     regexText     : "",
 
94
     emptyText     : null
 
95
  });
 
96
}
 
97
 
 
98
if(Ext.form.NumberField){
 
99
  Ext.apply(Ext.form.NumberField.prototype, {
 
100
     minText : "このフィールドの最小値は {0} です。",
 
101
     maxText : "このフィールドの最大値は {0} です。",
 
102
     nanText : "{0} は数値ではありません。"
 
103
  });
 
104
}
 
105
 
 
106
if(Ext.form.DateField){
 
107
  Ext.apply(Ext.form.DateField.prototype, {
 
108
     disabledDaysText  : "無効",
 
109
     disabledDatesText : "無効",
 
110
     minText           : "このフィールドの日付は、 {0} 以降の日付に設定してください。",
 
111
     maxText           : "このフィールドの日付は、 {0} 以前の日付に設定してください。",
 
112
     invalidText       : "{0} は間違った日付入力です。 - 入力形式は「{1}」です。",
 
113
     format            : "Y/m/d"
 
114
  });
 
115
}
 
116
 
 
117
if(Ext.form.ComboBox){
 
118
  Ext.apply(Ext.form.ComboBox.prototype, {
 
119
     loadingText       : "読み込み中...",
 
120
     valueNotFoundText : undefined
 
121
  });
 
122
}
 
123
 
 
124
if(Ext.form.VTypes){
 
125
  Ext.apply(Ext.form.VTypes, {
 
126
     emailText    : 'メールアドレスを"user@domain.com"の形式で入力してください。',
 
127
     urlText      : 'URLを"http:/'+'/www.domain.com"の形式で入力してください。',
 
128
     alphaText    : '半角英字と"_"のみです。',
 
129
     alphanumText : '半角英数と"_"のみです。'
 
130
  });
 
131
}
 
132
 
 
133
if(Ext.grid.GridView){
 
134
  Ext.apply(Ext.grid.GridView.prototype, {
 
135
     sortAscText  : "昇順",
 
136
     sortDescText : "降順",
 
137
     lockText     : "カラムロック",
 
138
     unlockText   : "カラムロック解除",
 
139
     columnsText  : "Columns"
 
140
  });
 
141
}
 
142
 
 
143
if(Ext.grid.PropertyColumnModel){
 
144
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
 
145
     nameText   : "名称",
 
146
     valueText  : "値",
 
147
     dateFormat : "Y/m/d"
 
148
  });
 
149
}
 
150
 
 
151
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
 
152
  Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
 
153
     splitTip            : "ドラッグするとリサイズできます。",
 
154
     collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。"
 
155
  });
 
156
}