# ext-lang-ro.js

    /**
     * Romanian translations for ExtJS 2.1
     * First released by Lucian Lature on 2007-04-24
     * Changed locale for Romania (date formats) as suggested by keypoint
     * on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524
     * Removed some useless parts
     * Changed by: Emil Cazamir, 2008-04-24
     * Fixed some errors left behind
     * Changed by: Emil Cazamir, 2008-09-01
     */

    Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">ÃŽncÄƒrcare...</div>';

    if(Ext.grid.GridPanel){
       Ext.grid.GridPanel.prototype.ddText = "{0} rÃ¢nd(uri) selectate";
    }

    if(Ext.TabPanelItem){
       Ext.TabPanelItem.prototype.closeText = "ÃŽnchide acest tab";
    }

    if(Ext.form.Field){
       Ext.form.Field.prototype.invalidText = "Valoarea acestui cÃ¢mp este invalidÄƒ";
    }

    if(Ext.LoadMask){
        Ext.LoadMask.prototype.msg = "ÃŽncÄƒrcare...";
    }

    Date.monthNames = [
       "Ianuarie",
       "Februarie",
       "Martie",
       "Aprilie",
       "Mai",
       "Iunie",
       "Iulie",
       "August",
       "Septembrie",
       "Octombrie",
       "Noiembrie",
       "Decembrie"
    ];

    Date.getShortMonthName = function(month) {
      return Date.monthNames[month].substring(0, 3);
    };

    Date.monthNumbers = {
      Ian : 0,
      Feb : 1,
      Mar : 2,
      Apr : 3,
      Mai : 4,
      Iun : 5,
      Iul : 6,
      Aug : 7,
      Sep : 8,
      Oct : 9,
      Noi : 10,
      Dec : 11
    };

    Date.getMonthNumber = function(name) {
      return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
    };

    Date.dayNames = [
       "DuminicÄƒ",
       "Luni",
       "MarÅ£i",
       "Miercuri",
       "Joi",
       "Vineri",
       "SÃ¢mbÄƒtÄƒ"
    ];

    Date.getShortDayName = function(day) {
      return Date.dayNames[day].substring(0, 3);
    };

    if(Ext.MessageBox){
       Ext.MessageBox.buttonText = {
          ok     : "OK",
          cancel : "RenunÅ£Äƒ",
          yes    : "Da",
          no     : "Nu"
       };
    }

    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 || "d.m.Y");
       };
    }

    if(Ext.DatePicker){
      Ext.apply(Ext.DatePicker.prototype, {
        todayText         : "AstÄƒzi",
        minText           : "AceastÄƒ datÄƒ este anterioarÄƒ datei minime",
        maxText           : "AceastÄƒ datÄƒ este ulterioarÄƒ datei maxime",
        disabledDaysText  : "",
        disabledDatesText : "",
        monthNames        : Date.monthNames,
        dayNames          : Date.dayNames,
        nextText          : 'Luna urmÄƒtoare (Control+Dreapta)',
        prevText          : 'Luna precedentÄƒ (Control+StÃ¢nga)',
        monthYearText     : 'Alege o lunÄƒ (Control+Sus/Jos pentru a parcurge anii)',
        todayTip          : "{0} (Bara spaÈ›iu)",
        format            : "d.m.Y",
        okText            : "&#160;OK&#160;",
        cancelText        : "RenunÈ›Äƒ",
        startDay          : 0
      });
    }

    if(Ext.PagingToolbar){
      Ext.apply(Ext.PagingToolbar.prototype, {
        beforePageText : "Pagina",
        afterPageText  : "din {0}",
        firstText      : "Prima paginÄƒ",
        prevText       : "Pagina anterioarÄƒ",
        nextText       : "Pagina urmÄƒtoare",
        lastText       : "Ultima paginÄƒ",
        refreshText    : "ÃŽmprospÄƒteazÄƒ",
        displayMsg     : "AfiÈ™are Ã®nregistrÄƒrile {0} - {1} din {2}",
        emptyMsg       : 'Nu sunt date de afiÈ™at'
      });
    }

    if(Ext.form.TextField){
       Ext.apply(Ext.form.TextField.prototype, {
          minLengthText : "Lungimea minimÄƒ pentru acest cÃ¢mp este de {0}",
          maxLengthText : "Lungimea maximÄƒ pentru acest cÃ¢mp este {0}",
          blankText     : "Acest cÃ¢mp este obligatoriu",
          regexText     : "",
          emptyText     : null
       });
    }

    if(Ext.form.NumberField){
       Ext.apply(Ext.form.NumberField.prototype, {
          minText : "Valoarea minimÄƒ permisÄƒ a acestui cÃ¢mp este {0}",
          maxText : "Valaorea maximÄƒ permisÄƒ a acestui cÃ¢mp este {0}",
          nanText : "{0} nu este un numÄƒr valid"
       });
    }

    if(Ext.form.DateField){
      Ext.apply(Ext.form.DateField.prototype, {
        disabledDaysText  : "Indisponibil",
        disabledDatesText : "Indisponibil",
        minText           : "Data din aceastÄƒ casetÄƒ trebuie sÄƒ fie dupÄƒ {0}",
        maxText           : "Data din aceastÄƒ casetÄƒ trebuie sÄƒ fie inainte de {0}",
        invalidText       : "{0} nu este o datÄƒ validÄƒ, trebuie sÄƒ fie Ã®n formatul {1}",
        format            : "d.m.Y",
        altFormats        : "d-m-Y|d.m.y|d-m-y|d.m|d-m|dm|d|Y-m-d"
      });
    }

    if(Ext.form.ComboBox){
      Ext.apply(Ext.form.ComboBox.prototype, {
        loadingText       : "ÃŽncÄƒrcare...",
        valueNotFoundText : undefined
      });
    }

    if(Ext.form.VTypes){
       Ext.apply(Ext.form.VTypes, {
          emailText    : 'Acest cÃ¢mp trebuie sÄƒ conÅ£inÄƒ o adresÄƒ de e-mail Ã®n formatul "user@domeniu.com"',
          urlText      : 'Acest cÃ¢mp trebuie sÄƒ conÅ£inÄƒ o adresÄƒ URL Ã®n formatul "http:/'+'/www.domeniu.com"',
          alphaText    : 'Acest cÃ¢mp trebuie sÄƒ conÅ£inÄƒ doar litere ÅŸi _',
          alphanumText : 'Acest cÃ¢mp trebuie sÄƒ conÅ£inÄƒ doar litere, cifre ÅŸi _'
       });
    }

    if(Ext.form.HtmlEditor){
      Ext.apply(Ext.form.HtmlEditor.prototype, {
        createLinkText : 'VÄƒ rugÄƒm introduceti un URL pentru aceastÄƒ legÄƒturÄƒ web:',
        buttonTips : {
          bold : {
            title: 'ÃŽngroÅŸat (Ctrl+B)',
            text: 'ÃŽngroÅŸati caracterele textului selectat.',
            cls: 'x-html-editor-tip'
          },
          italic : {
            title: 'ÃŽnclinat (Ctrl+I)',
            text: 'ÃŽnclinaÅ£i caracterele textului selectat.',
            cls: 'x-html-editor-tip'
          },
          underline : {
            title: 'Subliniat (Ctrl+U)',
            text: 'SubliniaÅ£i caracterele textului selectat.',
            cls: 'x-html-editor-tip'
          },
          increasefontsize : {
            title: 'MÄƒrit',
            text: 'MÄƒreÅŸte dimensiunea fontului.',
            cls: 'x-html-editor-tip'
          },
          decreasefontsize : {
            title: 'MicÅŸorat',
            text: 'MicÅŸoreazÄƒ dimensiunea textului.',
            cls: 'x-html-editor-tip'
          },
          backcolor : {
            title: 'Culoarea fundalului',
            text: 'SchimbÄƒ culoarea fundalului pentru textul selectat.',
            cls: 'x-html-editor-tip'
          },
          forecolor : {
            title: 'Culoarea textului',
            text: 'SchimbÄƒ culoarea textului selectat.',
            cls: 'x-html-editor-tip'
          },
          justifyleft : {
            title: 'Aliniat la stÃ¢nga',
            text: 'AliniazÄƒ textul la stÃ¢nga.',
            cls: 'x-html-editor-tip'
          },
          justifycenter : {
            title: 'Centrat',
            text: 'CentreazÄƒ textul Ã®n editor.',
            cls: 'x-html-editor-tip'
          },
          justifyright : {
            title: 'Aliniat la dreapta',
            text: 'AliniazÄƒ textul la dreapta.',
            cls: 'x-html-editor-tip'
          },
          insertunorderedlist : {
            title: 'ListÄƒ cu puncte',
            text: 'InsereazÄƒ listÄƒ cu puncte.',
            cls: 'x-html-editor-tip'
          },
          insertorderedlist : {
            title: 'ListÄƒ numerotatÄƒ',
            text: 'InsereazÄƒ o listÄƒ numerotatÄƒ.',
            cls: 'x-html-editor-tip'
          },
          createlink : {
            title: 'LegÄƒturÄƒ web',
            text: 'TransformÄƒ textul selectat Ã®n legÄƒturÄƒ web.',
            cls: 'x-html-editor-tip'
          },
          sourceedit : {
            title: 'Editare sursÄƒ',
            text: 'SchimbÄƒ pe modul de editare al codului HTML.',
            cls: 'x-html-editor-tip'
          }
        }
      });
    }

    if(Ext.grid.GridView){
       Ext.apply(Ext.grid.GridView.prototype, {
          sortAscText  : "Sortare ascendentÄƒ",
          sortDescText : "Sortare descendentÄƒ",
          lockText     : "BlocheazÄƒ coloana",
          unlockText   : "DeblocheazÄƒ coloana",
          columnsText  : "Coloane"
       });
    }

    if(Ext.grid.GroupingView){
      Ext.apply(Ext.grid.GroupingView.prototype, {
        emptyGroupText : '(FÄƒrÄƒ)',
        groupByText    : 'GrupeazÄƒ dupÄƒ aceastÄƒ coloanÄƒ',
        showGroupsText : 'AfiÈ™eazÄƒ grupat'
      });
    }

    if(Ext.grid.PropertyColumnModel){
      Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
        nameText   : "Nume",
        valueText  : "Valoare",
        dateFormat : "d.m.Y"
      });
    }

    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
          splitTip            : "Trage pentru redimensionare.",
          collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere."
       });
    }

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