/source/Plug-in/ext/build/locale/ext-lang-ja.js
http://prosporous.googlecode.com/ · JavaScript · 156 lines · 131 code · 20 blank · 5 comment · 21 complexity · 26e68b75c38baeccd9117d920732effb MD5 · raw file
- /*
- * Japanese translation
- * By tyama
- * 04-08-2007, 05:49 AM
- */
- Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">?????...</div>';
- if(Ext.View){
- Ext.View.prototype.emptyText = "";
- }
- if(Ext.grid.GridPanel){
- Ext.grid.GridPanel.prototype.ddText = "{0} ???";
- }
- if(Ext.TabPanelItem){
- Ext.TabPanelItem.prototype.closeText = "????????";
- }
- if(Ext.form.Field){
- Ext.form.Field.prototype.invalidText = "?????????????";
- }
- if(Ext.LoadMask){
- Ext.LoadMask.prototype.msg = "?????...";
- }
- Date.monthNames = ['1?', '2?', '3?', '4?', '5?', '6?', '7?', '8?', '9?', '10?','11?','12?'];
- Date.dayNames = [
- "?",
- "?",
- "?",
- "?",
- "?",
- "?",
- "?"];
- if(Ext.MessageBox){
- Ext.MessageBox.buttonText = {
- ok : "OK",
- cancel : "?????",
- yes : "??",
- no : "???"
- };
- }
- if(Ext.util.Format){
- Ext.util.Format.date = function(v, format){
- if(!v) return "";
- if(!(v instanceof Date)) v = new Date(Date.parse(v));
- return v.dateFormat(format || "Y/m/d");
- };
- }
- if(Ext.DatePicker){
- Ext.apply(Ext.DatePicker.prototype, {
- todayText : "??",
- minText : "???????????????",
- maxText : "???????????????",
- disabledDaysText : "",
- disabledDatesText : "",
- monthNames : Date.monthNames,
- dayNames : Date.dayNames,
- nextText : '??? (??????+?)',
- prevText : '??? (??????+?)',
- monthYearText : '??? (??????+?/?????)',
- todayTip : "{0} (??????)",
- format : "Y/m/d"
- });
- }
- if(Ext.PagingToolbar){
- Ext.apply(Ext.PagingToolbar.prototype, {
- beforePageText : "???",
- afterPageText : "/ {0}",
- firstText : "??????",
- prevText : "?????",
- nextText : "?????",
- lastText : "??????",
- refreshText : "??",
- displayMsg : "{2} ?? {0} - {1} ???",
- emptyMsg : '??????????????'
- });
- }
- if(Ext.form.TextField){
- Ext.apply(Ext.form.TextField.prototype, {
- minLengthText : "???????????? {0} ???",
- maxLengthText : "???????????? {0} ???",
- blankText : "???????",
- regexText : "",
- emptyText : null
- });
- }
- if(Ext.form.NumberField){
- Ext.apply(Ext.form.NumberField.prototype, {
- minText : "???????????? {0} ???",
- maxText : "???????????? {0} ???",
- nanText : "{0} ???????????"
- });
- }
- if(Ext.form.DateField){
- Ext.apply(Ext.form.DateField.prototype, {
- disabledDaysText : "??",
- disabledDatesText : "??",
- minText : "???????????? {0} ???????????????",
- maxText : "???????????? {0} ???????????????",
- invalidText : "{0} ???????????? - ??????{1}????",
- format : "Y/m/d"
- });
- }
- if(Ext.form.ComboBox){
- Ext.apply(Ext.form.ComboBox.prototype, {
- loadingText : "?????...",
- valueNotFoundText : undefined
- });
- }
- if(Ext.form.VTypes){
- Ext.apply(Ext.form.VTypes, {
- emailText : '????????"user@domain.com"?????????????',
- urlText : 'URL?"http:/'+'/www.domain.com"?????????????',
- alphaText : '?????"_"?????',
- alphanumText : '?????"_"?????'
- });
- }
- if(Ext.grid.GridView){
- Ext.apply(Ext.grid.GridView.prototype, {
- sortAscText : "??",
- sortDescText : "??",
- lockText : "??????",
- unlockText : "????????",
- columnsText : "Columns"
- });
- }
- if(Ext.grid.PropertyColumnModel){
- Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
- nameText : "??",
- valueText : "?",
- dateFormat : "Y/m/d"
- });
- }
- if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
- Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
- splitTip : "????????????????",
- collapsibleSplitTip : "?????????? ???????????"
- });
- }