ext-lang-ja.js

/*
 * Japanese translation
 * By tyama
 * 04-08-2007, 05:49 AM
 *
 * update based on English Translations by Condor (8 Aug 2008)
 * By sakuro (30 Aug 2008)
 */

Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">読ã¿è¾¼ã¿ä¸­...</div>';

if(Ext.DataView){
  Ext.DataView.prototype.emptyText = "";
}

if(Ext.grid.GridPanel){
  Ext.grid.GridPanel.prototype.ddText = "{0} è¡é¸æ";
}

if(Ext.LoadMask){
  Ext.LoadMask.prototype.msg = "読ã¿è¾¼ã¿ä¸­...";
}

Date.monthNames = [
  '1æ',
  '2æ',
  '3æ',
  '4æ',
  '5æ',
  '6æ',
  '7æ',
  '8æ',
  '9æ',
  '10æ',
  '11æ',
  '12æ'
];

Date.getShortMonthName = function(month) {
  return "" + (month + 1);
};

Date.monthNumbers = {
  "1" : 0,
  "2" : 1,
  "3" : 2,
  "4" : 3,
  "5" : 4,
  "6" : 5,
  "7" : 6,
  "8" : 7,
  "9" : 8,
  "10" : 9,
  "11" : 10,
  "12" : 11
};

Date.getMonthNumber = function(name) {
  return Date.monthNumbers[name.substring(0, name.length - 1)];
  // or simply parseInt(name.substring(0, name.length - 1)) - 1
};

Date.dayNames = [
  "æ¥ææ¥",
  "æææ¥",
  "ç«ææ¥",
  "æ°´ææ¥",
  "æ¨ææ¥",
  "éææ¥",
  "åææ¥"
];

Date.getShortDayName = function(day) {
  return Date.dayNames[day].substring(0, 1); // just remove "ææ¥" suffix
};

Date.formatCodes.a = "(this.getHours() < 12 ? 'åå' : 'åå¾')";
Date.formatCodes.A = "(this.getHours() < 12 ? 'åå' : 'åå¾')"; // no case difference

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",
    okText            : "OK",
    cancelText        : "ã­ã£ã³ã»ã«",
    startDay          : 0
  });
}

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "ãã¼ã¸",
    afterPageText  : "/ {0}",
    firstText      : "æåã®ãã¼ã¸",
    prevText       : "åã®ãã¼ã¸",
    nextText       : "次ã®ãã¼ã¸",
    lastText       : "æå¾ã®ãã¼ã¸",
    refreshText    : "æ´æ°",
    displayMsg     : "{2} 件中 {0} - {1} ã表示",
    emptyMsg       : '表示ãããã¼ã¿ãããã¾ããã'
  });
}

if(Ext.form.Field){
  Ext.form.Field.prototype.invalidText = "ãã£ã¼ã«ãã®å¤ã䏿­£ã§ãã";
}

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, {
    decimalSeparator : ".",
    decimalPrecision : 2,
    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",
    altFormats        : "y/m/d|m/d/y|m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|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.form.HtmlEditor){
  Ext.apply(Ext.form.HtmlEditor.prototype, {
    createLinkText : 'ãªã³ã¯ã®URLãå¥åãã¦ãã ãã:',
    buttonTips : {
      bold : {
        title: 'å¤ªå­ (ã³ã³ãã­ã¼ã«+B)',
        text: '鏿ãã­ã¹ãã太å­ã«ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      italic : {
        title: 'æä½ (ã³ã³ãã­ã¼ã«+I)',
        text: '鏿ãã­ã¹ããæä½ã«ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      underline : {
        title: 'ä¸ç· (ã³ã³ãã­ã¼ã«+U)',
        text: '鏿ãã­ã¹ãã«ä¸ç·ãå¼ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      increasefontsize : {
        title: 'æå­ã大ãã',
        text: 'ãã©ã³ããµã¤ãºã大ãããã¾ãã',
        cls: 'x-html-editor-tip'
      },
      decreasefontsize : {
        title: 'æå­ãå°ãã',
        text: 'ãã©ã³ããµã¤ãºãå°ãããã¾ãã',
        cls: 'x-html-editor-tip'
      },
      backcolor : {
        title: 'æå­ã®ãã¤ã©ã¤ã',
        text: '鏿ãã­ã¹ãã®èæ¯è²ã夿´ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      forecolor : {
        title: 'æå­ã®è²',
        text: '鏿ãã­ã¹ãã®è²ã夿´ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      justifyleft : {
        title: 'å·¦æã',
        text: 'ãã­ã¹ããå·¦æãã«ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      justifycenter : {
        title: '中央æã',
        text: 'ãã­ã¹ãã中央æãã«ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      justifyright : {
        title: '峿ã',
        text: 'ãã­ã¹ãã峿ãã«ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      insertunorderedlist : {
        title: 'çªå·ãªãç®æ¡æ¸ã',
        text: 'çªå·ãªãç®æ¡æ¸ããéå§ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      insertorderedlist : {
        title: 'çªå·ä»ãç®æ¡æ¸ã',
        text: 'çªå·ä»ãç®æ¡æ¸ããéå§ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      createlink : {
        title: 'ãã¤ãã¼ãªã³ã¯',
        text: '鏿ãã­ã¹ãããã¤ãã¼ãªã³ã¯ã«ãã¾ãã',
        cls: 'x-html-editor-tip'
      },
      sourceedit : {
        title: 'ã½ã¼ã¹ç·¨é',
        text: 'ã½ã¼ã¹ç·¨éã¢ã¼ãã«åãæ¿ãã¾ãã',
        cls: 'x-html-editor-tip'
      }
    }
  });
}

if(Ext.grid.GridView){
  Ext.apply(Ext.grid.GridView.prototype, {
    sortAscText  : "æé ",
    sortDescText : "éé ",
    columnsText  : "ã«ã©ã "
  });
}

if(Ext.grid.GroupingView){
  Ext.apply(Ext.grid.GroupingView.prototype, {
    emptyGroupText : '(ãªã)',
    groupByText    : 'ãã®ã«ã©ã ã§ã°ã«ã¼ãã³ã°',
    showGroupsText : 'ã°ã«ã¼ãã³ã°'
  });
}

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 : "ãã©ãã°ã§ãªãµã¤ãºã ããã«ã¯ãªãã¯ã§é ãã"
  });
}

if(Ext.form.TimeField){
  Ext.apply(Ext.form.TimeField.prototype, {
    minText : "ãã®ãã£ã¼ã«ãã®æå»ã¯ã {0} 以éã®æå»ã«è¨­å®ãã¦ãã ããã",
    maxText : "ãã®ãã£ã¼ã«ãã®æå»ã¯ã {0} 以åã®æå»ã«è¨­å®ãã¦ãã ããã",
    invalidText : "{0} ã¯ééã£ãæå»å¥åã§ãã",
    format : "g:i A",
    altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
  });
}

if(Ext.form.CheckboxGroup){
  Ext.apply(Ext.form.CheckboxGroup.prototype, {
    blankText : "ãã®ã°ã«ã¼ãããæä½ï¼ã¤ã®ã¢ã¤ãã ã鏿ããªããã°ãªãã¾ããã"
  });
}

if(Ext.form.RadioGroup){
  Ext.apply(Ext.form.RadioGroup.prototype, {
    blankText : "ãã®ã°ã«ã¼ãããï¼ã¤ã®ã¢ã¤ãã ã鏿ããªããã°ãªãã¾ããã"
  });
}

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.