Skip to content

Commit f738542

Browse files
committed
Add Bulgarian translation for practical styles
1 parent de7048c commit f738542

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

translations/bg_BG/readme.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -818,38 +818,38 @@
818818
```javascript
819819
820820
// 5.1.1
821-
// A Practical Module
821+
// Практичен модул
822822
823823
(function( global ) {
824824
var Module = (function() {
825825
826826
var data = "secret";
827827
828828
return {
829-
// This is some boolean property
829+
// Логическо свойство
830830
bool: true,
831-
// Some string value
831+
// Стойност от тип низ
832832
string: "a string",
833-
// An array property
833+
// Свойство - масив
834834
array: [ 1, 2, 3, 4 ],
835-
// An object property
835+
// Свойство - обект
836836
object: {
837-
lang: "en-Us"
837+
lang: "bg-BG"
838838
},
839839
getData: function() {
840-
// get the current value of `data`
840+
// вземете текущата стойност на променливата `data`
841841
return data;
842842
},
843843
setData: function( value ) {
844-
// set the value of `data` and return it
844+
// присвоете стойността на `data` и я върнете
845845
return ( data = value );
846846
}
847847
};
848848
})();
849849
850-
// Other things might happen here
850+
// Други декларации
851851
852-
// expose our module to the global object
852+
// добавамя нашия модъл към глобалния обект
853853
global.Module = Module;
854854
855855
})( this );
@@ -859,7 +859,7 @@
859859
```javascript
860860
861861
// 5.2.1
862-
// A Practical Constructor
862+
// Практичен Конструктор
863863
864864
(function( global ) {
865865
@@ -879,13 +879,13 @@
879879
};
880880
881881
882-
// To call constructor's without `new`, you might do this:
882+
// За да извикате конструктора без `new`, можете да направите това:
883883
var ctor = function( foo ) {
884884
return new Ctor( foo );
885885
};
886886
887887
888-
// expose our constructor to the global object
888+
// добави нашия конструктор към глобалния обект
889889
global.ctor = ctor;
890890
891891
})( this );

0 commit comments

Comments
 (0)