Skip to content

Commit c15c555

Browse files
committed
partial translations for reference and components parts
1 parent 8158e9d commit c15c555

File tree

18 files changed

+633
-634
lines changed

18 files changed

+633
-634
lines changed

components/config/introduction.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
single: Config
33
single: Components; Config
44

5-
The Config Component
6-
====================
5+
Komponenta Config
6+
=================
77

8-
Introduction
9-
------------
8+
Uvod
9+
----
1010

11-
The Config Component provides several classes to help you find, load, combine,
12-
autofill and validate configuration values of any kind, whatever their source
13-
may be (Yaml, XML, INI files, or for instance a database).
11+
Kompomenta Config ponuja nekaj razredov, ki vam pomagajo najdi, naložiti, kombinirati,
12+
avtomatsko izpolniti in preveriti nastavitvene vrednosti katerekoli vrste, kakršenkoli je
13+
njihov vir (Yaml, XML, INI datoteke, ali na primer podatkovna baza).
1414

15-
Installation
16-
------------
15+
Namestitev
16+
----------
1717

18-
You can install the component in 2 different ways:
18+
Komponento lahko namestite na 2 načina:
1919

20-
* Use the official Git repository (https://github.com/symfony/Config);
21-
* :doc:`Install it via Composer </components/using_components>` (``symfony/config`` on `Packagist`_).
20+
* Uporabite uradni Git repozitorij (https://github.com/symfony/Config);
21+
* :doc:`Namestitev preko Composer-ja </components/using_components>` (``symfony/config`` na `Packagist`_).
2222

23-
Sections
24-
--------
23+
Sekcije
24+
-------
2525

2626
* :doc:`/components/config/resources`
2727
* :doc:`/components/config/caching`

components/console/single_command_tool.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.. index::
22
single: Console; Single command application
33

4-
Building a Single Command Application
5-
=====================================
4+
Gradnja eno-ukazne aplikacije
5+
=============================
66

7-
When building a command line tool, you may not need to provide several commands.
8-
In such case, having to pass the command name each time is tedious. Fortunately,
9-
it is possible to remove this need by extending the application::
7+
Ko gradite orodje za ukazno vrstico, lahko da ne boste potrebovali ponujate nekaj ukazov.
8+
V takem primeru je pošiljanje imena ukaza vsakič lahko naporno. Na srečo
9+
je možno odstraniti to potrebo z razširitvijo aplikacije::
1010

1111
namespace Acme\Tool;
1212

@@ -58,10 +58,10 @@ it is possible to remove this need by extending the application::
5858
}
5959
}
6060

61-
When calling your console script, the command ``MyCommand`` will then always
62-
be used, without having to pass its name.
61+
Ko kličete vašo konzolno skripto, ukaz ``MyCommand`` bo potem vedno
62+
uporabljen, brez da bi morali podajati njegovo ime.
6363

64-
You can also simplify how you execute the application::
64+
Lahko tudi poenostavite, kako izvajate aplikacijo::
6565

6666
#!/usr/bin/env php
6767
<?php

reference/forms/types/button.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
.. index::
22
single: Forms; Fields; button
33

4-
button Field Type
5-
=================
4+
button tip polja
5+
================
66

77
.. versionadded:: 2.3
8-
The ``button`` type was added in Symfony 2.3
8+
Tip ``button`` je bil dodan v Symfony 2.3
99

10-
A simple, non-responsive button.
10+
Enostaven, ne odziven gumb.
1111

1212
+----------------------+----------------------------------------------------------------------+
13-
| Rendered as | ``button`` tag |
13+
| Izpisan kot | ``button`` značka |
1414
+----------------------+----------------------------------------------------------------------+
15-
| Options | - `attr`_ |
15+
| Opcije | - `attr`_ |
1616
| | - `disabled`_ |
1717
| | - `label`_ |
1818
| | - `translation_domain`_ |
1919
+----------------------+----------------------------------------------------------------------+
20-
| Parent type | none |
20+
| Starševski tip | noben |
2121
+----------------------+----------------------------------------------------------------------+
22-
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ButtonType` |
22+
| Razred | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ButtonType` |
2323
+----------------------+----------------------------------------------------------------------+
2424

25-
Options
26-
-------
25+
Opcije
26+
------
2727

2828
.. include:: /reference/forms/types/options/button_attr.rst.inc
2929

reference/forms/types/checkbox.rst

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
.. index::
22
single: Forms; Fields; checkbox
33

4-
checkbox Field Type
5-
===================
6-
7-
Creates a single input checkbox. This should always be used for a field that
8-
has a Boolean value: if the box is checked, the field will be set to true,
9-
if the box is unchecked, the value will be set to false.
10-
11-
+-------------+------------------------------------------------------------------------+
12-
| Rendered as | ``input`` ``checkbox`` field |
13-
+-------------+------------------------------------------------------------------------+
14-
| Options | - `value`_ |
15-
+-------------+------------------------------------------------------------------------+
16-
| Inherited | - `required`_ |
17-
| options | - `label`_ |
18-
| | - `read_only`_ |
19-
| | - `disabled`_ |
20-
| | - `error_bubbling`_ |
21-
| | - `error_mapping`_ |
22-
| | - `mapped`_ |
23-
+-------------+------------------------------------------------------------------------+
24-
| Parent type | :doc:`form </reference/forms/types/form>` |
25-
+-------------+------------------------------------------------------------------------+
26-
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CheckboxType` |
27-
+-------------+------------------------------------------------------------------------+
28-
29-
Example Usage
30-
-------------
4+
checkbox tip polja
5+
==================
6+
7+
Izdela eno vnosno polje za potrditev. Ta bi moral biti vedno uporabljen za polje, ki
8+
ima logično vrednost (boolean): če je kvadratek označen, bo polje nastavljeno na true,
9+
če kvadratek ni označen, bo vrednost nastavljena na false.
10+
11+
+----------------+------------------------------------------------------------------------+
12+
| Izpisan kot | ``input`` ``checkbox`` polje |
13+
+----------------+------------------------------------------------------------------------+
14+
| Opcije | - `value`_ |
15+
+----------------+------------------------------------------------------------------------+
16+
| Podedovanje | - `required`_ |
17+
| opcije | - `label`_ |
18+
| | - `read_only`_ |
19+
| | - `disabled`_ |
20+
| | - `error_bubbling`_ |
21+
| | - `error_mapping`_ |
22+
| | - `mapped`_ |
23+
+----------------+------------------------------------------------------------------------+
24+
| Starševski tip | :doc:`form </reference/forms/types/form>` |
25+
+----------------+------------------------------------------------------------------------+
26+
| Razred | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CheckboxType` |
27+
+----------------+------------------------------------------------------------------------+
28+
29+
Primer uporabe
30+
--------------
3131

3232
.. code-block:: php
3333
@@ -36,21 +36,21 @@ Example Usage
3636
'required' => false,
3737
));
3838
39-
Field Options
40-
-------------
39+
Opcije polja
40+
------------
4141

42-
value
43-
~~~~~
42+
vrednost
43+
~~~~~~~~
4444

45-
**type**: ``mixed`` **default**: ``1``
45+
**tip**: ``mixed`` **privzeto**: ``1``
4646

47-
The value that's actually used as the value for the checkbox. This does
48-
not affect the value that's set on your object.
47+
Vrednost, ki je dejansko uporabljena kot vrednost potrditvena polja. To
48+
ne vpliva na vrednost, ki je nastavljena na vašem objektu.
4949

50-
Inherited options
50+
Podedovane opcije
5151
-----------------
5252

53-
These options inherit from the :doc:`form </reference/forms/types/form>` type:
53+
Te opcije podedujejo iz the tipa :doc:`form </reference/forms/types/form>`:
5454

5555
.. include:: /reference/forms/types/options/required.rst.inc
5656

reference/forms/types/choice.rst

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
.. index::
22
single: Forms; Fields; choice
33

4-
choice Field Type
5-
=================
6-
7-
A multi-purpose field used to allow the user to "choose" one or more options.
8-
It can be rendered as a ``select`` tag, radio buttons, or checkboxes.
9-
10-
To use this field, you must specify *either* the ``choice_list`` or ``choices``
11-
option.
12-
13-
+-------------+------------------------------------------------------------------------------+
14-
| Rendered as | can be various tags (see below) |
15-
+-------------+------------------------------------------------------------------------------+
16-
| Options | - `choices`_ |
17-
| | - `choice_list`_ |
18-
| | - `multiple`_ |
19-
| | - `expanded`_ |
20-
| | - `preferred_choices`_ |
21-
| | - `empty_value`_ |
22-
+-------------+------------------------------------------------------------------------------+
23-
| Inherited | - `required`_ |
24-
| options | - `label`_ |
25-
| | - `read_only`_ |
26-
| | - `disabled`_ |
27-
| | - `error_bubbling`_ |
28-
| | - `error_mapping`_ |
29-
| | - `mapped`_ |
30-
| | - `inherit_data`_ |
31-
| | - `by_reference`_ |
32-
| | - `empty_data`_ |
33-
+-------------+------------------------------------------------------------------------------+
34-
| Parent type | :doc:`form </reference/forms/types/form>` |
35-
+-------------+------------------------------------------------------------------------------+
36-
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType` |
37-
+-------------+------------------------------------------------------------------------------+
38-
39-
Example Usage
40-
-------------
41-
42-
The easiest way to use this field is to specify the choices directly via the
43-
``choices`` option. The key of the array becomes the value that's actually
44-
set on your underlying object (e.g. ``m``), while the value is what the
45-
user sees on the form (e.g. ``Male``).
4+
choice tip polja
5+
================
6+
7+
Večnamensko polje uporabljeno za omogočanje uporabniku "izbrati" eno ali več opcij.
8+
Lahko je izpisan kot ``select`` značka, radio button-i ali checkbox-i.
9+
10+
Za uporabo tega polja, morate specificirati *ali* ``choice_list`` ali ``choices``
11+
opcijo.
12+
13+
+----------------+------------------------------------------------------------------------------+
14+
| Izpisan kot | lahko so različne značke (glejte spodaj) |
15+
+----------------+------------------------------------------------------------------------------+
16+
| Opcije | - `choices`_ |
17+
| | - `choice_list`_ |
18+
| | - `multiple`_ |
19+
| | - `expanded`_ |
20+
| | - `preferred_choices`_ |
21+
| | - `empty_value`_ |
22+
+----------------+------------------------------------------------------------------------------+
23+
| Podedovane | - `required`_ |
24+
| opcije | - `label`_ |
25+
| | - `read_only`_ |
26+
| | - `disabled`_ |
27+
| | - `error_bubbling`_ |
28+
| | - `error_mapping`_ |
29+
| | - `mapped`_ |
30+
| | - `inherit_data`_ |
31+
| | - `by_reference`_ |
32+
| | - `empty_data`_ |
33+
+----------------+------------------------------------------------------------------------------+
34+
| Starševski tip | :doc:`obrazec </reference/forms/types/form>` |
35+
+----------------+------------------------------------------------------------------------------+
36+
| Razred | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType` |
37+
+----------------+------------------------------------------------------------------------------+
38+
39+
Primer uporabe
40+
--------------
41+
42+
Najenostavnejši način za uporabo tega polja je določanje izbir direktno preko
43+
opcije ``choices``. Ključ polja (array) postane vrednost, ki je dejansko
44+
nastavljena na vašem osnovnem objektu (npr. ``m``), medtem ko je vrednost,
45+
kar uporabnik vidi v obrazcu (npr. ``Male``).
4646

4747
.. code-block:: php
4848
@@ -51,9 +51,9 @@ user sees on the form (e.g. ``Male``).
5151
'required' => false,
5252
));
5353
54-
By setting ``multiple`` to true, you can allow the user to choose multiple
55-
values. The widget will be rendered as a multiple ``select`` tag or a series
56-
of checkboxes depending on the ``expanded`` option:
54+
Z nastavitvijo ``multiple`` na true, lahko dovoljujete uporabniku izbiro večih
55+
vrednosti. Widget bo izpisan kot ``multiple`` ``select`` značka ali serija
56+
potrditvenih polj odvisno od opcije ``expanded``:
5757

5858
.. code-block:: php
5959
@@ -66,24 +66,24 @@ of checkboxes depending on the ``expanded`` option:
6666
'multiple' => true,
6767
));
6868
69-
You can also use the ``choice_list`` option, which takes an object that can
70-
specify the choices for your widget.
69+
Lahko tudi uporabite opcijo ``choice_list``, ki vzame objekt, ki lahko
70+
specificira izbire vašega widget-a.
7171

7272
.. _forms-reference-choice-tags:
7373

7474
.. include:: /reference/forms/types/options/select_how_rendered.rst.inc
7575

76-
Field Options
77-
-------------
76+
Opcije polja
77+
------------
7878

79-
choices
80-
~~~~~~~
79+
izbire
80+
~~~~~~
8181

82-
**type**: ``array`` **default**: ``array()``
82+
**tip**: ``array`` **privzeto**: ``array()``
8383

84-
This is the most basic way to specify the choices that should be used
85-
by this field. The ``choices`` option is an array, where the array key
86-
is the item value and the array value is the item's label::
84+
To je najosnovnejši način za določanje izbir, ki bi morale biti uporabljene
85+
na tem polju. Opcija ``choices`` je polje, kjer je ključ polja
86+
element vrednosti in vrednost polja je oznaka elementa::
8787

8888
$builder->add('gender', 'choice', array(
8989
'choices' => array('m' => 'Male', 'f' => 'Female')
@@ -92,12 +92,12 @@ is the item value and the array value is the item's label::
9292
choice_list
9393
~~~~~~~~~~~
9494

95-
**type**: ``Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface``
95+
**tip**: ``Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface``
9696

97-
This is one way of specifying the options to be used for this field.
98-
The ``choice_list`` option must be an instance of the ``ChoiceListInterface``.
99-
For more advanced cases, a custom class that implements the interface
100-
can be created to supply the choices.
97+
To je en način določanja uporabljenih opcij za to polje.
98+
Opcija ``choice_list`` mora biti instanca ``ChoiceListInterface``.
99+
Za bolj napredne primere, razred po meri, ki implementira vmesnik,
100+
je lahko izdelan za dobavo izbir.
101101

102102
.. include:: /reference/forms/types/options/multiple.rst.inc
103103

@@ -107,10 +107,10 @@ can be created to supply the choices.
107107

108108
.. include:: /reference/forms/types/options/empty_value.rst.inc
109109

110-
Inherited options
110+
Podedovane opcije
111111
-----------------
112112

113-
These options inherit from the :doc:`form </reference/forms/types/form>` type:
113+
Te opcije dedujejo iz tipa :doc:`obrazec </reference/forms/types/form>`:
114114

115115
.. include:: /reference/forms/types/options/required.rst.inc
116116

0 commit comments

Comments
 (0)