Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e24ca609e7 | ||
|
|
b2cb86954f | ||
|
|
19b2db6ce4 | ||
|
|
0df29b6e6b | ||
|
|
e9822bdbec | ||
|
|
7aeeef8dd2 | ||
|
|
8597c95b7e | ||
|
|
7a3059e163 | ||
|
|
69c3d7046b | ||
|
|
eb0b725069 | ||
|
|
6d4e4db84a | ||
|
|
9e79a32e7a | ||
|
|
a7773e4873 | ||
|
|
2f6077c276 | ||
|
|
d03c7e9220 | ||
|
|
3df3e76ea7 | ||
|
|
0f2d22e49a | ||
|
|
8b0e9d5d87 | ||
|
|
2d4bda681d | ||
|
|
e7dbde19a8 | ||
|
|
6952fc2c14 | ||
|
|
b819143ed8 | ||
|
|
075a4367be | ||
|
|
51431def38 | ||
|
|
c6c171aee4 | ||
|
|
96ae9bb803 | ||
|
|
dbbb9ca155 | ||
|
|
f3c391cd40 | ||
|
|
0abbea4210 | ||
|
|
b3e5ba1358 | ||
|
|
1362a04c4d | ||
|
|
73551dd24e | ||
|
|
1d2106a654 | ||
|
|
f07cafcff1 | ||
|
|
45f3408944 | ||
|
|
5afba60e48 | ||
|
|
914642ba67 | ||
|
|
e1e4be0a32 | ||
|
|
2fce7ae0cf | ||
|
|
cc7e6ac818 | ||
|
|
ceda6cfa74 | ||
|
|
dfb9f7b4b3 | ||
|
|
213c933476 | ||
|
|
43cef9d57f | ||
|
|
03c7d30fe6 | ||
|
|
68e739b3ab | ||
|
|
0191263147 | ||
|
|
b2ba5b72f4 | ||
|
|
1bc8d5de97 | ||
|
|
0ec5422442 | ||
|
|
a457cede78 | ||
|
|
81a7dd8aa0 | ||
|
|
c08715d032 | ||
|
|
8e248a6005 | ||
|
|
4a4433efa2 | ||
|
|
ce9e1d5cfe | ||
|
|
a3637af306 | ||
|
|
ce2c44bcff | ||
|
|
12d9b1476e | ||
|
|
b5b2ec9640 | ||
|
|
2e8c21ad50 | ||
|
|
2929138573 | ||
|
|
47910a11e6 | ||
|
|
1668069356 | ||
|
|
9b547375cf | ||
|
|
921b56e1ff | ||
|
|
05bcfd02b8 | ||
|
|
23c1858afc | ||
|
|
c77ea62158 | ||
|
|
751e1e6875 | ||
|
|
dd866d06f2 | ||
|
|
2627908aa6 | ||
|
|
fab64d9743 | ||
|
|
a9e51c6905 | ||
|
|
b2e227edda | ||
|
|
105d92def8 | ||
|
|
0a3c096a10 | ||
|
|
2d673e1628 | ||
|
|
3ddff83bb4 | ||
|
|
fdb76d69e0 | ||
|
|
517b72ce04 | ||
|
|
28a0256649 | ||
|
|
7607aad01b | ||
|
|
280425b74f | ||
|
|
82a605e195 | ||
|
|
dab4d008b9 | ||
|
|
763b436d11 | ||
|
|
34c0185eee | ||
|
|
c7960c8067 | ||
|
|
0e74e55161 | ||
|
|
ed6e5cff7a | ||
|
|
90dd9c9c83 | ||
|
|
bf9c7188d8 | ||
|
|
7b772dc3a5 | ||
|
|
84d7afc7f2 | ||
|
|
c0b4a34672 | ||
|
|
84f410b7c3 | ||
|
|
dc6b8fbd38 | ||
|
|
a9212ba917 | ||
|
|
c411bdc127 | ||
|
|
3aa9255349 | ||
|
|
c6194663a0 | ||
|
|
a851a3cad6 | ||
|
|
031c48d920 | ||
|
|
c30c103197 | ||
|
|
db421fb73a | ||
|
|
7188365196 | ||
|
|
3dda0438e1 | ||
|
|
14dfb128fa | ||
|
|
fd0847b7ff | ||
|
|
0118ef8d76 | ||
|
|
359bbd5749 | ||
|
|
6bcc49ed59 | ||
|
|
6802ce4def | ||
|
|
c74f1ab96b | ||
|
|
2c10dc9b27 | ||
|
|
a2cbe1e62b | ||
|
|
8582325a6d | ||
|
|
fc4835168e | ||
|
|
502b1c3261 | ||
|
|
e0d8c4576f | ||
|
|
1aad1f779e | ||
|
|
35b3ab6fc0 | ||
|
|
bfd8ac369c | ||
|
|
078b00cc7c | ||
|
|
76c21db53b | ||
|
|
cf10b07997 | ||
|
|
adf5652757 | ||
|
|
d5a9e83f21 | ||
|
|
2b67e76a0e | ||
|
|
060c2405d4 | ||
|
|
03c254f827 | ||
|
|
fad38bb509 | ||
|
|
3e391c7f10 | ||
|
|
e4c577be83 | ||
|
|
c257ff01ca | ||
|
|
fb6e8363e1 | ||
|
|
b9ab4d52c0 | ||
|
|
3f30d59818 | ||
|
|
abbd917c09 | ||
|
|
a5444db687 | ||
|
|
969f39bcb6 | ||
|
|
586fe5a009 | ||
|
|
b59e1f54c4 | ||
|
|
38e6258b3d | ||
|
|
ba5d43ca95 | ||
|
|
198e10333a | ||
|
|
dc4a253ec3 | ||
|
|
e8996e8cec | ||
|
|
e49c413377 | ||
|
|
ce9b12b057 | ||
|
|
308b6490bc | ||
|
|
3e5cf1d56d | ||
|
|
b83be8a8f6 | ||
|
|
cbb584eb0b | ||
|
|
fc6d851a51 | ||
|
|
b443f6a3cf | ||
|
|
87330db4b3 | ||
|
|
bb72d67b2c | ||
|
|
3ed7046da1 | ||
|
|
6d187368d1 | ||
|
|
c39e987326 | ||
|
|
63eefd6335 | ||
|
|
fb16c40f63 | ||
|
|
81a6bf9d2f | ||
|
|
4bfc3fe13f | ||
|
|
e358f2c869 | ||
|
|
d29cc715ba | ||
|
|
b8862067f2 | ||
|
|
11baf67e4c | ||
|
|
888cafc81e | ||
|
|
f9ecb974fe | ||
|
|
336405cf0a | ||
|
|
1dff849a02 | ||
|
|
5dc56d28da | ||
|
|
29cf77e6d1 | ||
|
|
33f7774aa9 | ||
|
|
82c79f4dbb | ||
|
|
b4c56d7d5c | ||
|
|
dfb2c7089f | ||
|
|
a4d9401ce5 | ||
|
|
1759a5eb4f | ||
|
|
2ed16e9b84 | ||
|
|
ad31f0bdff | ||
|
|
00f0a3e92a | ||
|
|
4c6d50c64b | ||
|
|
f44e1c392c | ||
|
|
7197c5815b | ||
|
|
6e436494d9 | ||
|
|
03d9b45529 | ||
|
|
fc2425dcd8 | ||
|
|
972281d9ca | ||
|
|
60345e6462 | ||
|
|
e29978235a | ||
|
|
5781af14e2 | ||
|
|
7fc5425e45 | ||
|
|
7147ccbae0 | ||
|
|
4e87f33ade | ||
|
|
08cae73d4f | ||
|
|
dabbf7ac99 | ||
|
|
ab2418a01a | ||
|
|
9fd292346a | ||
|
|
6bfad32d5a | ||
|
|
95d3e60db5 | ||
|
|
9406f965e3 | ||
|
|
f85776dce9 | ||
|
|
06bed0f8b1 | ||
|
|
1e73b6e710 | ||
|
|
b365b48687 | ||
|
|
f644887e9d | ||
|
|
8dc6720d05 | ||
|
|
51ffe5d8b5 | ||
|
|
0f7b377f61 | ||
|
|
40f9c9289d | ||
|
|
63ad3a6643 | ||
|
|
f95a97738c | ||
|
|
f521a7e0c3 | ||
|
|
aaa710deb6 | ||
|
|
fb51732375 | ||
|
|
76949cebde | ||
|
|
53f00b62f3 | ||
|
|
9df9831cdc | ||
|
|
20bf5c1308 | ||
|
|
51c04fcf77 | ||
|
|
c554eee8eb | ||
|
|
e9e3625e8d | ||
|
|
9d2d881645 | ||
|
|
d0438381e8 | ||
|
|
8dfa8be102 | ||
|
|
adf86c45a4 | ||
|
|
cba57cad91 | ||
|
|
b0f220bbcb | ||
|
|
6bc089c113 | ||
|
|
3a6f67e22c | ||
|
|
cc440db68a | ||
|
|
0d6d95445c | ||
|
|
7212418be3 | ||
|
|
cc1fb00881 | ||
|
|
bf15349940 | ||
|
|
e803aa984e | ||
|
|
b2298331fb | ||
|
|
09ad935287 | ||
|
|
ab852c3d29 | ||
|
|
5f31ed9e8e | ||
|
|
8f6560785e | ||
|
|
92fa2bda8c | ||
|
|
43b82eca02 | ||
|
|
755371bccc | ||
|
|
2df798a535 | ||
|
|
dea88ce69c | ||
|
|
64b6576cdd | ||
|
|
cbcd849624 | ||
|
|
fbca8cc862 | ||
|
|
8d89a21f1e | ||
|
|
a1647c62d5 | ||
|
|
05ce635f58 | ||
|
|
50c6329f59 | ||
|
|
b2ca80fb37 | ||
|
|
9e450472a8 | ||
|
|
046b098f38 | ||
|
|
b5d4cdd795 | ||
|
|
048feb0d8a | ||
|
|
c7c8226ed2 | ||
|
|
c9b5e06a2c | ||
|
|
71ef8f9286 | ||
|
|
985d723462 | ||
|
|
336a09b8be | ||
|
|
91907c193f | ||
|
|
1f758de74f | ||
|
|
833e292c0d | ||
|
|
14b4e1f305 | ||
|
|
4a73c7b181 | ||
|
|
e8d0a62e0b | ||
|
|
d3f28401e6 | ||
|
|
c1c6108571 | ||
|
|
7f19db2720 | ||
|
|
0c03abaddf | ||
|
|
1e1ff85c26 | ||
|
|
c7e11667b6 | ||
|
|
2c56c5a778 | ||
|
|
9a54b05281 | ||
|
|
08ff7bcb86 | ||
|
|
9525f213ea | ||
|
|
b4b72510c8 | ||
|
|
3b6510e86e | ||
|
|
6ac6ebeede | ||
|
|
2301e8a198 | ||
|
|
bae13f7791 | ||
|
|
6073c2bd1f | ||
|
|
883161477a | ||
|
|
642c935d18 | ||
|
|
3d6efbea45 | ||
|
|
7e77ca8a52 | ||
|
|
b11a6df004 | ||
|
|
b2992b77ae | ||
|
|
da347eb3a6 | ||
|
|
43d564081c | ||
|
|
7432c2c5e1 | ||
|
|
1372eb73e5 | ||
|
|
44df9991a7 | ||
|
|
abce69f071 | ||
|
|
6100d71a8a | ||
|
|
c749236577 | ||
|
|
1d79ddd183 | ||
|
|
f5431ec78d | ||
|
|
bb110d07d5 | ||
|
|
68df6d1b63 | ||
|
|
c8a9c01c29 | ||
|
|
c878474eb2 | ||
|
|
212911b815 | ||
|
|
a3232fdb21 | ||
|
|
de8b66d3de | ||
|
|
4a6cb10b8f | ||
|
|
326faa6490 | ||
|
|
574ca93dd4 | ||
|
|
63562e8ff8 | ||
|
|
a176757428 | ||
|
|
f8502efcc1 | ||
|
|
d58d7a08d6 | ||
|
|
c3e51ee39e | ||
|
|
54048d1319 | ||
|
|
de25dfcee1 | ||
|
|
5731137c7f | ||
|
|
f9214fe5c8 | ||
|
|
a3df3d19ed | ||
|
|
c1f0901d40 | ||
|
|
b350230276 | ||
|
|
e7bf14ffd0 | ||
|
|
90873071cd | ||
|
|
eba8e4366e | ||
|
|
23836f219c | ||
|
|
5dfc53c44b | ||
|
|
74c629d2e4 | ||
|
|
104bfc9a53 | ||
|
|
9436258f91 | ||
|
|
31b4018134 | ||
|
|
c59d301486 | ||
|
|
82d7088c89 | ||
|
|
8aa6542abb | ||
|
|
80d63385e8 | ||
|
|
eacb8aa80a | ||
|
|
def0e7f302 | ||
|
|
26f04e2548 | ||
|
|
646e025be8 | ||
|
|
16a11227f1 | ||
|
|
8bfd924f1d | ||
|
|
593c5ae1a0 | ||
|
|
3cb8ef151c | ||
|
|
6a2ec0b9db | ||
|
|
d0fb24c76d | ||
|
|
addd6c7371 | ||
|
|
404e6d14dc | ||
|
|
89a6e9b452 | ||
|
|
7981c6c99e | ||
|
|
42dfefcec5 | ||
|
|
3e984457fd | ||
|
|
4f1ac9b1be | ||
|
|
9cc01fea64 | ||
|
|
31d1569d8c | ||
|
|
7c5f7dd066 | ||
|
|
648d77bc6a | ||
|
|
d5c00e03a5 | ||
|
|
ee0667c450 | ||
|
|
4eb7bd2400 | ||
|
|
d37fb6efb9 | ||
|
|
7a7dbb46d8 | ||
|
|
16b9ee0d65 | ||
|
|
1bbcf01400 | ||
|
|
708753b286 | ||
|
|
a954a88df3 | ||
|
|
57f65b9fba | ||
|
|
c8aae5cffe | ||
|
|
cbe1995a37 | ||
|
|
2ff1ca0979 | ||
|
|
7c9184845e | ||
|
|
0a4213fa34 | ||
|
|
f7252e8eee | ||
|
|
41b36ad1bc | ||
|
|
105e6c3c01 | ||
|
|
297fd2722f | ||
|
|
ca5e5668cc | ||
|
|
407aae3a8e | ||
|
|
b0d2076f84 | ||
|
|
faf48a64ef | ||
|
|
0bd9b6b79d | ||
|
|
bd34c2ec49 | ||
|
|
fe3f3ea33f | ||
|
|
35c4afbbca | ||
|
|
fff3ca4448 | ||
|
|
d83601bdec | ||
|
|
39f61b882f | ||
|
|
3a68606cbc | ||
|
|
cc21f3649b | ||
|
|
2b36c4156f | ||
|
|
21950d293f | ||
|
|
55cb1d592e | ||
|
|
a5e4a69431 | ||
|
|
1ad6d9e289 | ||
|
|
01b97aef1a | ||
|
|
f5344b6d79 | ||
|
|
00a62b9f87 | ||
|
|
bd8c816687 | ||
|
|
e0480186a4 | ||
|
|
717cd93c9c | ||
|
|
f1e129181f | ||
|
|
451fec6dac | ||
|
|
ec8a373804 | ||
|
|
edca0b9f7b | ||
|
|
9f37a40072 | ||
|
|
dc0255d3cc | ||
|
|
c97a9d2a9a | ||
|
|
7048c06707 | ||
|
|
59012b08e5 | ||
|
|
6695c0cf92 | ||
|
|
70be38c147 | ||
|
|
e80d37fef8 | ||
|
|
6fe7804811 | ||
|
|
1f0ec2be08 | ||
|
|
eac4571b6f | ||
|
|
a4bc77f540 | ||
|
|
d7e1083a19 | ||
|
|
d41f8a1d7c | ||
|
|
9351c29b81 | ||
|
|
b2fe53afb0 | ||
|
|
335bd26e10 | ||
|
|
7cb325b4da | ||
|
|
db51774e3f | ||
|
|
d51bfdc3a7 | ||
|
|
1cb7c1a25f | ||
|
|
65e1819ff5 | ||
|
|
4183611d97 | ||
|
|
c0dd1f6b7d | ||
|
|
2b159639d3 | ||
|
|
8028228fa0 | ||
|
|
ea224a40cc | ||
|
|
b4ecc8e6d0 | ||
|
|
a84466daee | ||
|
|
11569d6569 | ||
|
|
8c159b9cd4 | ||
|
|
20b43c6d5c | ||
|
|
95026dc40d | ||
|
|
3725ac6ef5 | ||
|
|
0bc562a9a9 | ||
|
|
44467087c5 | ||
|
|
17815b18bc | ||
|
|
91c1b90b19 | ||
|
|
b80ff0e7f9 | ||
|
|
f031979ff2 | ||
|
|
271c495eb0 | ||
|
|
30b5a6c95a | ||
|
|
fe3368bd47 | ||
|
|
96a32ae7ab | ||
|
|
dab96db6c7 | ||
|
|
b322e71c65 | ||
|
|
5768042f10 | ||
|
|
808ad31272 | ||
|
|
195c761f41 | ||
|
|
8dc784e507 | ||
|
|
cef185e20a | ||
|
|
06acbdb54e | ||
|
|
b1c31594a3 | ||
|
|
f092b445b7 | ||
|
|
52ca1b1f8a | ||
|
|
e603175303 | ||
|
|
b4cb69646a | ||
|
|
aa0f6f6fca | ||
|
|
216ab48a40 | ||
|
|
8f071b83d8 | ||
|
|
8a3a4beddd | ||
|
|
7886f61877 | ||
|
|
27f1943094 | ||
|
|
1480b93950 | ||
|
|
b756e4fed4 | ||
|
|
1f6605a10b | ||
|
|
d6ec03a911 | ||
|
|
092f8af778 | ||
|
|
3acf8751da | ||
|
|
7aba1d50ee | ||
|
|
940d8fb923 | ||
|
|
33c7174557 | ||
|
|
56f1824cd6 | ||
|
|
64a67ba1a1 | ||
|
|
bdf61ff822 | ||
|
|
adc56140f5 | ||
|
|
5f10cb11e9 | ||
|
|
79c1c1a86a | ||
|
|
4619e6833e | ||
|
|
0776a7704a | ||
|
|
6c9db33eda | ||
|
|
5d6cd5a7b8 | ||
|
|
2e79c51763 | ||
|
|
ddcbb78548 | ||
|
|
4352834a6c | ||
|
|
7813102214 | ||
|
|
cba55363a6 | ||
|
|
86e0b45953 | ||
|
|
706ee0e3dd | ||
|
|
7512163422 | ||
|
|
c1525c10f4 | ||
|
|
b7b99438c4 | ||
|
|
4c5e0fb967 | ||
|
|
4751883846 | ||
|
|
0ce8e43db2 | ||
|
|
e86fda2b17 | ||
|
|
310acf0568 | ||
|
|
1855f3c4e6 | ||
|
|
f6c8000e68 | ||
|
|
434b148e94 | ||
|
|
d263531777 | ||
|
|
a8ac5f1447 | ||
|
|
39c8ed49ca | ||
|
|
0995ee51ae | ||
|
|
67e2f75087 | ||
|
|
7d9e57de93 | ||
|
|
84224a4fe1 | ||
|
|
756161d65c | ||
|
|
0e81c81235 | ||
|
|
48cb762e73 | ||
|
|
49a8959766 | ||
|
|
e9f7d57409 | ||
|
|
ecab74bee5 | ||
|
|
f7e58d3210 | ||
|
|
f4b26be645 | ||
|
|
4cd7c060d0 | ||
|
|
d12dddbaa3 | ||
|
|
47cfd09d11 | ||
|
|
bd8ca5321b | ||
|
|
b247c0766a | ||
|
|
44b3066151 | ||
|
|
a92ff2eb3c | ||
|
|
10711852e6 | ||
|
|
1b8521fd31 | ||
|
|
b32260e7f7 | ||
|
|
862890e13c | ||
|
|
c6d106bc4f | ||
|
|
1626917342 | ||
|
|
5ed8a8960f | ||
|
|
5cb49c43fb | ||
|
|
5a194da2fe | ||
|
|
229b33da26 | ||
|
|
4637e01562 | ||
|
|
11a0a70a6f | ||
|
|
fd13811f72 | ||
|
|
9f99faee10 | ||
|
|
5a42062948 | ||
|
|
3e06099034 | ||
|
|
ffcd766f3e | ||
|
|
fd7c4b5eea | ||
|
|
4a4f7511d6 | ||
|
|
4001ebb662 | ||
|
|
fbb6383cfa | ||
|
|
438d919b4a | ||
|
|
7b37d0261b | ||
|
|
5247c8872f | ||
|
|
ed937190f8 | ||
|
|
db804e42c6 | ||
|
|
53f2a92c40 | ||
|
|
c65eef4bc7 | ||
|
|
589d1c1e65 | ||
|
|
5ac17072cc | ||
|
|
98d163814c | ||
|
|
da0b82d85f | ||
|
|
47f415329b | ||
|
|
c4b9fb6f48 | ||
|
|
01c5d5bc39 | ||
|
|
233a025e18 | ||
|
|
03269fa090 | ||
|
|
e9ef81d686 | ||
|
|
273dab80a0 | ||
|
|
cb4bc8d55f | ||
|
|
cde90710ea | ||
|
|
5cc458ff3e | ||
|
|
ea4d35ec0f | ||
|
|
79d45cf898 | ||
|
|
47ba47acfd | ||
|
|
0f7d2d3085 | ||
|
|
240c1a910a | ||
|
|
4b329f0c31 | ||
|
|
a082f988e1 | ||
|
|
861d54f4eb | ||
|
|
be85228733 | ||
|
|
ab43787d48 | ||
|
|
aee7e622ec | ||
|
|
72a989677f | ||
|
|
5720819d35 | ||
|
|
32d223cacc | ||
|
|
2f8b8a05b0 | ||
|
|
ce27927f12 | ||
|
|
f95bf059e2 | ||
|
|
ca18dfd2f2 | ||
|
|
ee9c7e0ecd | ||
|
|
f6e5fa2abe | ||
|
|
c811dfb04c | ||
|
|
edd86a239e | ||
|
|
563e45156c | ||
|
|
5329b1e2b5 | ||
|
|
8c0fd8e583 | ||
|
|
38973407f1 | ||
|
|
3b77cfc77e | ||
|
|
1c008e9ade | ||
|
|
716bdd7d9b | ||
|
|
37aee9c9cd | ||
|
|
84d876df4c | ||
|
|
e9b7579fbd | ||
|
|
d12efab3fe | ||
|
|
81212d64a2 | ||
|
|
d6119f7f47 | ||
|
|
ef20e82e94 | ||
|
|
892d1ce08f | ||
|
|
3ac3ac638f | ||
|
|
09b5acec7e | ||
|
|
b82582ae07 | ||
|
|
6ed6383d18 | ||
|
|
29455f02f9 | ||
|
|
cc26c53436 | ||
|
|
17cfed8a38 | ||
|
|
408cf68058 | ||
|
|
142d54db58 | ||
|
|
020c4bc371 | ||
|
|
1d8c9b79d7 | ||
|
|
64dda02db0 | ||
|
|
df5dca41d1 | ||
|
|
dad5081387 | ||
|
|
0bea76e96a | ||
|
|
a5cd50b074 | ||
|
|
7490cdff2e | ||
|
|
38338856f2 | ||
|
|
bcc6a3b966 | ||
|
|
1922e55c8b | ||
|
|
a32ee39a94 | ||
|
|
5ce044b2b3 | ||
|
|
95b01927f3 | ||
|
|
b132f88cd5 | ||
|
|
2cf64226bf | ||
|
|
8ac6743d70 | ||
|
|
83e0912cec | ||
|
|
724c0069e8 | ||
|
|
0f4fa79dc0 | ||
|
|
e0a226eab0 | ||
|
|
afc087c188 | ||
|
|
50cb69e866 | ||
|
|
1742a6c799 | ||
|
|
e5df2df2f6 | ||
|
|
adaf52bcf0 | ||
|
|
9c1771f696 | ||
|
|
c102a0b0bb | ||
|
|
b54593f0a6 | ||
|
|
e3f0699323 | ||
|
|
46cf8ed2c1 | ||
|
|
31be8f4dfe | ||
|
|
fc29411f9c | ||
|
|
886e1c379e | ||
|
|
15692bcef1 | ||
|
|
e280437330 | ||
|
|
be8235b40b | ||
|
|
1626bbbb71 | ||
|
|
0a9b6cd39c | ||
|
|
8e5e00bb03 | ||
|
|
4f3ef902d5 | ||
|
|
c1136ea4eb | ||
|
|
bc22238b28 | ||
|
|
70ed19cd33 | ||
|
|
e273691229 | ||
|
|
ec02103d50 | ||
|
|
1126275538 | ||
|
|
a2a067e3d1 | ||
|
|
61bf65c09a | ||
|
|
3829d103bb | ||
|
|
60e2d36772 | ||
|
|
1837157036 | ||
|
|
b803d1b3a2 | ||
|
|
1a687da61e | ||
|
|
57eaee91c2 | ||
|
|
edfd6ce8dd | ||
|
|
9d70ebbf20 | ||
|
|
a4007f00c3 | ||
|
|
73bec4a345 | ||
|
|
d3200ff25e | ||
|
|
37780b655a | ||
|
|
d4e50e31a2 | ||
|
|
3c4e73da36 | ||
|
|
ac669833a8 | ||
|
|
b5d7f05231 | ||
|
|
9bf6e31e07 | ||
|
|
bb8157fefe | ||
|
|
f4cf5505bd | ||
|
|
9717be3da8 | ||
|
|
185ed19947 | ||
|
|
aed6d78f4f | ||
|
|
0fd9578f85 | ||
|
|
3e7df83383 | ||
|
|
264e8ad542 | ||
|
|
0555c77412 |
No files matched your search
+14
-6
@@ -1,6 +1,14 @@
|
||||
/.editorconfig export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/CODE_OF_CONDUCT.md export-ignore
|
||||
/CONTRIBUTING.md export-ignore
|
||||
/todo.md export-ignore
|
||||
* text=auto
|
||||
|
||||
.github/ export-ignore
|
||||
tests/ export-ignore
|
||||
|
||||
app/ export-ignore
|
||||
docs/ export-ignore
|
||||
excludes/ export-ignore
|
||||
|
||||
.editorconfig export-ignore
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
|
||||
phpunit.xml export-ignore
|
||||
@@ -1,50 +0,0 @@
|
||||
name: make-todo
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
|
||||
name: Make TODO.md
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 7.4
|
||||
extensions: mbstring, json
|
||||
|
||||
- name: Git setup
|
||||
if: success()
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
|
||||
- name: Generate todo.md
|
||||
if: success()
|
||||
run: php script/todo.php
|
||||
|
||||
- name: Commit file
|
||||
id: commit
|
||||
if: success()
|
||||
run: |
|
||||
IS_DIRTY=1
|
||||
|
||||
{ git add . && git commit -a -m "Updated todo.md file"; } || IS_DIRTY=0
|
||||
|
||||
echo ::set-output name=is_dirty::${IS_DIRTY}
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
if: success() && steps.commit.outputs.is_dirty == 1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -0,0 +1,28 @@
|
||||
name: phpunit
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: PHP Unit
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.0
|
||||
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, json
|
||||
coverage: none
|
||||
|
||||
- name: Composer self update
|
||||
run: composer self-update
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction
|
||||
|
||||
- name: Execute tests
|
||||
run: sudo vendor/bin/phpunit
|
||||
@@ -0,0 +1,93 @@
|
||||
name: self-update
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: Keys actualization and update status of translations
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.0
|
||||
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, json
|
||||
coverage: none
|
||||
|
||||
- name: Git setup
|
||||
if: success()
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction
|
||||
|
||||
- name: Keys actualization
|
||||
if: success()
|
||||
run: php app/keys.php
|
||||
|
||||
- name: Commit files after checking keys
|
||||
id: commit_keys
|
||||
if: success()
|
||||
run: |
|
||||
IS_DIRTY=1
|
||||
|
||||
{ git add . && git commit -a -m "Updating translations keys"; } || IS_DIRTY=0
|
||||
|
||||
echo ::set-output name=is_dirty::${IS_DIRTY}
|
||||
|
||||
- name: Updating referents
|
||||
if: success()
|
||||
run: php app/referents.php
|
||||
|
||||
- name: Commit files after referents update
|
||||
id: referents
|
||||
if: success()
|
||||
run: |
|
||||
IS_DIRTY=1
|
||||
|
||||
{ git add . && git commit -a -m "Updating the `docs/referents.md` file"; } || IS_DIRTY=0
|
||||
|
||||
echo ::set-output name=is_dirty::${IS_DIRTY}
|
||||
|
||||
- name: Checking for excludes
|
||||
if: success()
|
||||
run: php app/excludes.php
|
||||
|
||||
- name: Commit files after checking for excludes
|
||||
id: excludes
|
||||
if: success()
|
||||
run: |
|
||||
IS_DIRTY=1
|
||||
|
||||
{ git add . && git commit -a -m "Updating excludes files"; } || IS_DIRTY=0
|
||||
|
||||
echo ::set-output name=is_dirty::${IS_DIRTY}
|
||||
|
||||
- name: Status update
|
||||
if: success()
|
||||
run: php app/status.php
|
||||
|
||||
- name: Commit file
|
||||
id: commit_status
|
||||
if: success()
|
||||
run: |
|
||||
IS_DIRTY=1
|
||||
|
||||
{ git add . && git commit -a -m "Updated status of translations"; } || IS_DIRTY=0
|
||||
|
||||
echo ::set-output name=is_dirty::${IS_DIRTY}
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
if: success() && (steps.commit_keys.outputs.is_dirty == 1 || steps.referents.outputs.is_dirty == 1 || steps.excludes.outputs.is_dirty == 1 || steps.commit_status.outputs.is_dirty == 1)
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
+12
-4
@@ -1,7 +1,15 @@
|
||||
/_site/
|
||||
/.idea/
|
||||
/vendor/
|
||||
.idea/
|
||||
_site/
|
||||
vendor/
|
||||
build/
|
||||
|
||||
.DS_Store
|
||||
.php_cs.cache
|
||||
composer.lock
|
||||
.phpintel
|
||||
|
||||
*.bak
|
||||
*.cache
|
||||
*.clover
|
||||
*.orig
|
||||
|
||||
composer.lock
|
||||
-231
@@ -1,231 +0,0 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file, since v7.0.0.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [8.0.2] - 2021-01-25
|
||||
|
||||
### Reference
|
||||
|
||||
* feature: #1481 Added new Jetstream 2.0 translation keys
|
||||
* feature: #1485 Add missing tags and translate new tags for Jetstream 2.0
|
||||
* feature: #1488 Add missing tags related to button's labels for mail - team
|
||||
* feature: #1494 Translate subject of Team Invitation email
|
||||
* feature: #1506 Translate cancel button of team invitation
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1483 #1486 #1489 #1504 #1508 json file
|
||||
* feature: [bs] #1500 #1505 auth.php passwords.php validation.php
|
||||
* feature: [de] #1493 #1507 auth.php validation.php json file
|
||||
* feature: [el] #1509 json file
|
||||
* feature: [es] #1485 #1487 #1488 #1494 #1506 #1518 validation.php json file
|
||||
* feature: [fr] #1501 json file
|
||||
* feature: [it] #1491 #1502 #1511 json file
|
||||
* feature: [ka] #1497 #1498 #1499 #1503 auth.php passwords.php validation.php
|
||||
* feature: [lt] #1521 json file
|
||||
* feature: [mk] #1521 #1522 auth.php passwords.php validation.php validation-inline.php json file
|
||||
* feature: [nl] #1482 auth.php
|
||||
* feature: [ro] #1517 auth.php
|
||||
* feature: [ru] #1481 #1490 #1515 #1516 validation.php json file
|
||||
* feature: [sl] #1480 excluse file and json file
|
||||
* feature: [sr_Cyrl] #1521 validation-inline.php
|
||||
* feature: [sr_Latn] #1521 validation-inline.php
|
||||
* feature: [sv] #1492 json file
|
||||
* feature: [uk] #1484 auth.php validation.php validation-inline.php json file
|
||||
|
||||
## [8.0.1] - 2021-01-03
|
||||
|
||||
### Added
|
||||
|
||||
* new: [oc] #1466
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1476 json file
|
||||
* feature: [de] #1471 #1472 json file
|
||||
* feature: [fa] #1467 #1468 #1470 #1477 auth.php validation.php validation-inline.php json file
|
||||
* feature: [fr] #1469 auth.php
|
||||
* feature: [ja] #1461 exclude file and json file
|
||||
* feature: [ru] #1465 #1475 json file
|
||||
* feature: [sl] #1479 auth.php passwords.php validation.php validation-inline.php
|
||||
* feature: [sr_Latn_ME] #1463 auth.php pagination.php passwords.php validation.php
|
||||
|
||||
## [8.0.0] - 2020-11-30
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [sr, uz, me] #1453 Rename \*\_Cyrillic to \*\_Cyrl and \*\_Latin to \*\_Latn (php Intl)]
|
||||
|
||||
## [7.0.9] - 2020-11-30
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1419 #1431 #1447 #1462 validation-inline.php validation.php auth.php json file
|
||||
* feature: [es] #1414 #1416 #1417 #1422 #1442 #1450 #1452 validation.php validation-inline.php passwords.php json file
|
||||
* feature: [fr] #1441 json file
|
||||
* feature: [id] #1439 auth.php
|
||||
* feature: [it] #1435 #1459 validation-inline.php validation.php auth.php json file
|
||||
* feature: [km] #1418 auth.php validation.php passwords.php
|
||||
* feature: [ko] #1444 validation-inline.php validation.php auth.php json file
|
||||
* feature: [lt] #1434 #1436 #1449 validation-inline.php validation.php auth.php json file
|
||||
* feature: [nl] #1424 #1425 #1428 #1457 auth.php validation.php validation-inline.php json file
|
||||
* feature: [pl] #1420 validation-inline.php validation.php
|
||||
* feature: [de_CH] #1458 validation-inline.php validation.php
|
||||
* feature: [pt_Br] #1415 json file
|
||||
* feature: [ru] #1426 #1427 #1445 #1454 validation-inline.php validation.php auth.php json file
|
||||
* feature: [sv] #1430 json file
|
||||
* feature: [tr] #1448 #1456 json file
|
||||
* feature: [uk] #1446 json file
|
||||
* feature: [fa] #1451 json file
|
||||
* feature: [vi] #1433 #1443 validation-inline.php validation.php passwords.php auth.php json file
|
||||
|
||||
## [7.0.8] - 2020-10-11
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1383 #1411 [fr] json file
|
||||
* feature: #1385 [el] json file
|
||||
* feature: #1387 #1388 #1392 [ms] validation.php validation-inline.php passwords.php
|
||||
* feature: #1390 #1398 [ar] json file
|
||||
* feature: #1393 #1397 [ru] json file
|
||||
* feature: #1393 #1394 [en] add tags
|
||||
* feature: #1394 [es] json file
|
||||
* feature: #1395 [pl] json file
|
||||
* feature: #1400 [lt] json file
|
||||
* feature: #1402 #1413 [it] validation-inline.php auth.php passwords.php json file
|
||||
* feature: #1404 [pt] json file
|
||||
* feature: #1412 [de] json file
|
||||
|
||||
### Documentation
|
||||
|
||||
* feature: #1386 Contributing
|
||||
|
||||
### Todo script
|
||||
|
||||
* fix: #1406 ignores the additional informations
|
||||
|
||||
### Workflow
|
||||
|
||||
* feature: #1401 #1403 Make todo
|
||||
* feature: #1405 template bug report
|
||||
|
||||
## [7.0.7] - 2020-10-02
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1375 [pt_BR] json file
|
||||
* feature: #1379 [hr] passwords.php
|
||||
* feature: #1380 [ms] validation.php
|
||||
* feature: #1381 [id] json file
|
||||
* feature: #1382 [tr] json file
|
||||
|
||||
### Todo script
|
||||
|
||||
* feature: #1378 exclude translation
|
||||
|
||||
## [7.0.6] - 2020-09-30
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1339 #1369 [ar] json file
|
||||
* feature: #1352 [uz_*] validation auth password
|
||||
* feature: #1356 #1362 #1368 [ru] json file
|
||||
* feature: #1358 #1374 [pt] json file
|
||||
* feature: #1360 #1367 #1373 [pl] json file
|
||||
* feature: #1361 #1371 [es] json file
|
||||
* feature: #1361 #1368 [en] json file
|
||||
* feature: #1363 [sr_*] json file
|
||||
* feature: #1370 [de] json file
|
||||
* feature: [fr] json file
|
||||
|
||||
## [7.0.5] - 2020-09-23
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1327 #1328 [tr] validation.php
|
||||
* feature: #1330 [nl] json file
|
||||
* feature: #1331 [nl] validation-inline.php
|
||||
* feature: #1332 [hu] validation.php
|
||||
* feature: #1333 Laravel 8 support
|
||||
* feature: #1335 #1354 Add support for Laravel JetStream
|
||||
* feature: #1341 [es] json files
|
||||
* feature: #1341 #1346 [en] json files
|
||||
* feature: #1342 [pt] json files
|
||||
* feature: #1345 [it] json files
|
||||
* feature: #1346 [ru] json files
|
||||
* feature: #1351 [pl] json files
|
||||
|
||||
## [7.0.4] - 2020-09-11
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: new organization
|
||||
* feature: #1316 [sr_*] validation-inline file
|
||||
* feature: #1317 [es] json file
|
||||
* feature: #1318 [fa] validation.password
|
||||
* feature: #1320 [lt] validation-inline and validation
|
||||
* feature: #1323 #1324 [id] json and validation-inline
|
||||
* feature: #1326 [ko] validation-inline
|
||||
|
||||
## [7.0.3] - 2020-08-23
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1302 #1306 #1307 [Ne] Translated to Nepali Language (Validation-inline and json)
|
||||
* feature: #1310 [da] passwords.throttlled
|
||||
* feature: #1312 [es] validation and validation-inline
|
||||
* feature: #1313 [sq] validation-inline and validation translations
|
||||
|
||||
## [7.0.2] - 2020-08-05
|
||||
|
||||
### Added
|
||||
|
||||
* Changelog file
|
||||
* #1293 [da] Add json
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1290 [pl] Translate validation-inline; tweak some validation translations
|
||||
* feature: #1291 [pt_BR] Update validation-inline
|
||||
* feature: #1292 [es] Update json
|
||||
* feature: #1294 Update readme
|
||||
* feature: #1295 [pt] Update json, validation-inline, validation and passwords
|
||||
* feature: #1297 [sq] Update auth, passwords and validation
|
||||
* feature: #1298 [si] Update passwords
|
||||
* feature: #1299 [zh_*] Update json and validation-inline
|
||||
* feature: #1300 [uk] validation-inline
|
||||
* feature: #1301 [uk] json
|
||||
|
||||
## [7.0.1] - 2020-07-14
|
||||
|
||||
### Added
|
||||
|
||||
* json files for uz_Cyrillic and uz_Latin
|
||||
|
||||
### Changed
|
||||
|
||||
* fix: #1269 json file names to follow ISO-15897
|
||||
|
||||
## [7.0.0] - 2020-07-13
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1269 Rename locale folders following ISO 15897 format
|
||||
|
||||
[Unreleased]: https://github.com/caouecs/Laravel-lang/compare/8.0.2...master
|
||||
[8.0.2]: https://github.com/caouecs/Laravel-lang/compare/8.0.1...8.0.2
|
||||
[8.0.1]: https://github.com/caouecs/Laravel-lang/compare/8.0.0...8.0.1
|
||||
[8.0.0]: https://github.com/caouecs/Laravel-lang/compare/7.0.9...8.0.0
|
||||
[7.0.9]: https://github.com/caouecs/Laravel-lang/compare/7.0.8...7.0.9
|
||||
[7.0.8]: https://github.com/caouecs/Laravel-lang/compare/7.0.7...7.0.8
|
||||
[7.0.7]: https://github.com/caouecs/Laravel-lang/compare/7.0.6...7.0.7
|
||||
[7.0.6]: https://github.com/caouecs/Laravel-lang/compare/7.0.5...7.0.6
|
||||
[7.0.5]: https://github.com/caouecs/Laravel-lang/compare/7.0.4...7.0.5
|
||||
[7.0.4]: https://github.com/caouecs/Laravel-lang/compare/7.0.3...7.0.4
|
||||
[7.0.3]: https://github.com/caouecs/Laravel-lang/compare/7.0.2...7.0.3
|
||||
[7.0.2]: https://github.com/caouecs/Laravel-lang/compare/7.0.1...7.0.2
|
||||
[7.0.1]: https://github.com/caouecs/Laravel-lang/compare/7.0.0...7.0.1
|
||||
[7.0.0]: https://github.com/caouecs/Laravel-lang/compare/6.1.4...7.0.0
|
||||
@@ -1,61 +0,0 @@
|
||||
# Contributing
|
||||
|
||||
Contributions are **welcome** and will be fully **credited**.
|
||||
|
||||
We accept contributions via Pull Requests on [Github](https://github.com/Laravel-Lang/lang).
|
||||
|
||||
## How can I add a language in this project ?
|
||||
|
||||
* fork this repository
|
||||
* create a directory in *src* with the short name of the language (ex: fr for French) from ISO-639-1 ( see [Wikipedia](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) )
|
||||
* copy these four files of the English version with your translation : from `script/en` directory
|
||||
* add a pull request with the name of the language
|
||||
* ex: [fr] New language
|
||||
|
||||
## How can I fix a file ?
|
||||
|
||||
* fork this repository
|
||||
* update the file
|
||||
* add a pull request with the name of the language
|
||||
* ex: [fr] Update validation for number in validation
|
||||
|
||||
## What should I do if there is a tag whose translation is the same as in English?
|
||||
|
||||
In some languages there are some strings whose translation is the same as in English. In this case, the script that generates the `todo.md` adds them by default to the list of pending translations. This affects the *completion status* for this language which would never be marked in *todo list* with (✔) but with (❗) even if all other strings were translated.
|
||||
|
||||
We can avoid this situation in the following way:
|
||||
|
||||
* fork this repository if you haven't already
|
||||
* add a PHP file named with the short name of the language (ex: `es.php` for Spanish) inside the directory `script/excludes`
|
||||
* this php file must return an array of strings with each of the tags that we must exclude.
|
||||
* for example suppose that the strings `'Email'` and `'API Token'` in `es.json` (ex: for Spanish) do not need translation in this language and therefore want to exclude them. The PHP file `es.php` (for example) in `script/excludes/` should have this structure which you can copy for other languages.
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Exclusion list
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is a list of exclusions for words or phrases where the original
|
||||
| form of the word has the same spelling in a given language.
|
||||
|
|
||||
*/
|
||||
|
||||
'API Token',
|
||||
'Email',
|
||||
];
|
||||
```
|
||||
* add these changes to the pull request you will send
|
||||
|
||||
## Status of files
|
||||
|
||||
* [todo.md](todo.md)
|
||||
|
||||
### Update todo file
|
||||
|
||||
```bash
|
||||
php script/todo.php
|
||||
```
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# The MIT License (MIT)
|
||||
# MIT License
|
||||
|
||||
Copyright (c) 2020 Laravel-Lang team
|
||||
Copyright (c) 2021 Laravel-Lang team
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,73 +1,23 @@
|
||||
# Laravel-lang
|
||||
# Laravel Lang
|
||||
|
||||
In this repository, you can find the lang files for the [Laravel Framework 4/5/6/7/8](https://laravel.com), [Laravel Jetstream](https://jetstream.laravel.com) and [Laravel Fortify](https://github.com/laravel/fortify).
|
||||
In this repository, you can find the lang files for the [Laravel Framework 4/5/6/7/8](https://laravel.com), [Laravel Jetstream](https://jetstream.laravel.com) , [Laravel Fortify](https://github.com/laravel/fortify), [Laravel Cashier](https://laravel.com/docs/8.x/billing) and [Laravel Nova](https://nova.laravel.com).
|
||||
|
||||
<p align="center">
|
||||
[
|
||||
<a href="https://laravel-lang.github.io/lang">Documentation</a> |
|
||||
<a href="https://laravel-lang.github.io/lang/status.html">Completion Status</a>
|
||||
]
|
||||
</p>
|
||||
|
||||
## News
|
||||
|
||||
* in version 6.1, we propose a new file by language: `validation-inline.php` ( see #1268 )
|
||||
* in version 7, we propose new directory names to follow ISO-15897 ( see #1269 )
|
||||
* in version 8, we propose new directory names to follow Php Intl ( see #1453 )
|
||||
* in version 6.1, we propose a new file by language: `validation-inline.php` ( see [#1268](https://github.com/Laravel-Lang/lang/issues/1268) )
|
||||
* in version 7, we propose new directory names to follow ISO-15897 ( see [#1269](https://github.com/Laravel-Lang/lang/issues/1269) )
|
||||
* in version 8, we propose new directory names to follow Php Intl ( see [#1453](https://github.com/Laravel-Lang/lang/pull/1453) )
|
||||
* in version 9, we propose new structure of files ( see [#1606](https://github.com/Laravel-Lang/lang/discussions/1606), [#1607](https://github.com/Laravel-Lang/lang/pull/1607) )
|
||||
* in version 9.1, we include machine translations, with review by humans for some languages ( see [Discussions](https://github.com/Laravel-Lang/lang/discussions/1692) )
|
||||
|
||||
## Install
|
||||
|
||||
### Via Composer
|
||||
|
||||
Install the Laravel-lang package to your Laravel project with composer using command from the table below based on the version of Laravel you are using:
|
||||
|
||||
| Laravel version | Composer command |
|
||||
|-------------------------------------|---------------------------------------------------|
|
||||
| Laravel 7-8 with Php Intl | `composer require laravel-lang/lang:~8.0` |
|
||||
| Laravel 8.x | `composer require laravel-lang/lang:~7.0` |
|
||||
| Laravel 7.x and new directory names | `composer require laravel-lang/lang:~7.0` |
|
||||
| Laravel 7.x | `composer require laravel-lang/lang:~6.1` |
|
||||
| Laravel 6.x | `composer require laravel-lang/lang:~5.0` |
|
||||
| Laravel 5.8 | `composer require laravel-lang/lang:~4.0` |
|
||||
| Laravel 5.1-5.7 | `composer require laravel-lang/lang:~3.0` |
|
||||
| Laravel 5 | `composer require laravel-lang/lang:~2.0` |
|
||||
| Laravel 4 | `composer require laravel-lang/lang:~1.0` |
|
||||
|
||||
#### Copy files
|
||||
|
||||
After adding the dependency using composer (as described above) to your application you can find the language files under the directory `vendor/laravel-lang/lang`.
|
||||
|
||||
Copy the folders (and JSON files) of languages that you want to use, into the directory `resources/lang` of your Laravel application (or `app/lang` in Laravel 4).
|
||||
|
||||
### Via GitHub
|
||||
|
||||
* Clone the [GitHub repository](https://github.com/Laravel-Lang/lang/) : *git clone https://github.com/Laravel-Lang/lang.git*
|
||||
* Or download the [zip file](https://github.com/Laravel-Lang/lang/archive/master.zip)
|
||||
* Choose the branch:
|
||||
* `laravel4` for Laravel 4 project
|
||||
* `master` for Laravel 5, 6, 7, 8 projects
|
||||
* Copy the folders of languages that you want, in `resources/lang` folder of your Laravel application (or `app/lang` in Laravel 4).
|
||||
|
||||
### Via SVN
|
||||
|
||||
Run this in your project directory:
|
||||
|
||||
```sh
|
||||
# Laravel 5:
|
||||
svn export https://github.com/Laravel-Lang/lang/trunk/src/[language-code] resources/lang/[language-code]
|
||||
|
||||
# Laravel 4:
|
||||
svn export https://github.com/Laravel-Lang/lang/branches/laravel4/[language-code] app/lang/[language-code]
|
||||
```
|
||||
|
||||
Replace `[language-code]` by any of the languages listed [here](src).
|
||||
|
||||
## Usage [Laravel only]
|
||||
|
||||
In the file *config/app.php*, change the value of *locale* by the short name of your language (*app/config/app.php* in Laravel 4).
|
||||
|
||||
## Contributing
|
||||
|
||||
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
|
||||
|
||||
## Status of files
|
||||
|
||||
* Check the [todo.md](todo.md) file to see the missing translations.
|
||||
|
||||
## Projects based on this package
|
||||
## Translation managers
|
||||
|
||||
* [LaravelLang](https://github.com/ARCANEDEV/LaravelLang) by [*@arcanedev-maroc*](https://github.com/ARCANEDEV) - Translations manager and checker for Laravel.
|
||||
* [Laravel-lang](https://github.com/overtrue/laravel-lang) by [*@overtrue*](https://github.com/overtrue) - Command to add languages in your project.
|
||||
@@ -75,5 +25,5 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
|
||||
|
||||
## Credits
|
||||
|
||||
- [Referents by language](referents.md)
|
||||
- [Referents by language](https://laravel-lang.github.io/lang/referents.html)
|
||||
- [All Contributors](https://github.com/Laravel-Lang/lang/graphs/contributors)
|
||||
@@ -0,0 +1,7 @@
|
||||
YANDEX_API_KEY=
|
||||
YANDEX_API_FOLDER_ID=
|
||||
|
||||
GIT_REPOSITORY=origin
|
||||
GIT_SOURCE_BRANCH=master
|
||||
GIT_TARGET_BRANCH=patch
|
||||
GIT_MESSAGE="[%s] Some message"
|
||||
@@ -0,0 +1,3 @@
|
||||
requests/
|
||||
|
||||
.env
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Application;
|
||||
|
||||
return Application::make(
|
||||
realpath(__DIR__ . '/../../')
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Excludes;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Excludes::make());
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Json;
|
||||
use LaravelLang\Lang\Processors\Php;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Json::make());
|
||||
$app->processor(Php::make());
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang;
|
||||
|
||||
use Dotenv\Dotenv;
|
||||
use Helldar\Support\Concerns\Makeable;
|
||||
use LaravelLang\Lang\Contracts\Application as ApplicationContract;
|
||||
use LaravelLang\Lang\Contracts\Processable;
|
||||
use LaravelLang\Lang\Facades\Env;
|
||||
|
||||
final class Application implements ApplicationContract
|
||||
{
|
||||
use Makeable;
|
||||
|
||||
public function __construct(
|
||||
protected string $base_path
|
||||
) {
|
||||
$this->createDotenv()->safeLoad();
|
||||
}
|
||||
|
||||
public function basePath(): string
|
||||
{
|
||||
return rtrim($this->base_path, '/\\');
|
||||
}
|
||||
|
||||
public function sourcePath(string $filename = null): string
|
||||
{
|
||||
return $this->path('source/' . $this->cleanPath($filename));
|
||||
}
|
||||
|
||||
public function localePath(string $locale = null): string
|
||||
{
|
||||
return $this->path('locales/' . $this->cleanPath($locale));
|
||||
}
|
||||
|
||||
public function excludePath(string $locale): string
|
||||
{
|
||||
return $this->path('excludes/' . $this->cleanPath($locale) . '.php');
|
||||
}
|
||||
|
||||
public function resourcePath(string $filename): string
|
||||
{
|
||||
return $this->path('app/resources/' . $this->cleanPath($filename));
|
||||
}
|
||||
|
||||
public function path(string $path = null): string
|
||||
{
|
||||
if ($value = $this->cleanPath($path)) {
|
||||
return $this->basePath() . '/' . $value;
|
||||
}
|
||||
|
||||
return $this->basePath();
|
||||
}
|
||||
|
||||
public function cleanPath(string $path = null): ?string
|
||||
{
|
||||
if (! empty($path)) {
|
||||
return ltrim($path, '/\\');
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function processor(Processable $processor): void
|
||||
{
|
||||
$processor->application($this)->run();
|
||||
}
|
||||
|
||||
protected function createDotenv(): Dotenv
|
||||
{
|
||||
return Dotenv::create(
|
||||
Env::getRepository(),
|
||||
$this->environmentPath(),
|
||||
$this->environmentFile()
|
||||
);
|
||||
}
|
||||
|
||||
protected function environmentPath(): string
|
||||
{
|
||||
return $this->path('app');
|
||||
}
|
||||
|
||||
protected function environmentFile(): string
|
||||
{
|
||||
return '.env';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
|
||||
trait Contains
|
||||
{
|
||||
protected function isJson(string $filename): bool
|
||||
{
|
||||
return str_ends_with($filename, 'json');
|
||||
}
|
||||
|
||||
protected function isMarkdown(string $filename): bool
|
||||
{
|
||||
return str_ends_with($filename, 'md');
|
||||
}
|
||||
|
||||
protected function isPhp(string $filename): bool
|
||||
{
|
||||
return ! $this->isJson($filename);
|
||||
}
|
||||
|
||||
protected function isValidation(string $filename): bool
|
||||
{
|
||||
return str_starts_with($filename, 'validation');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Digit;
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Services\Counter;
|
||||
|
||||
trait Countable
|
||||
{
|
||||
protected array $count = [];
|
||||
|
||||
protected string $count_prefix = 'count_';
|
||||
|
||||
protected string $count_suffix = '_percents';
|
||||
|
||||
protected string $count_suffix_all = 'all';
|
||||
|
||||
protected function addCount(array $items, string $key = 'all'): void
|
||||
{
|
||||
$key = $this->countKeyPrefix($key);
|
||||
|
||||
if (! isset($this->count[$key])) {
|
||||
$this->count[$key] = 0;
|
||||
}
|
||||
|
||||
$this->count[$key] += $this->calcCount($items);
|
||||
}
|
||||
|
||||
protected function getCount(string $key = 'all'): int
|
||||
{
|
||||
$key = $this->countKeyPrefix($key);
|
||||
|
||||
return $this->count[$key];
|
||||
}
|
||||
|
||||
protected function setCount(int $count, string $key = 'all'): void
|
||||
{
|
||||
$key = $this->countKeyPrefix($key);
|
||||
|
||||
$this->count[$key] = $count;
|
||||
}
|
||||
|
||||
protected function getCounts(): array
|
||||
{
|
||||
$this->calcPercents();
|
||||
$this->countToString();
|
||||
|
||||
return $this->count;
|
||||
}
|
||||
|
||||
protected function calcPercents(): void
|
||||
{
|
||||
$all = $this->getCount();
|
||||
|
||||
$all_key = $this->countKeyPrefix($this->count_suffix_all);
|
||||
|
||||
$items = $this->count;
|
||||
|
||||
foreach ($items as $key => $value) {
|
||||
if ($key !== $all_key) {
|
||||
$value = $all - $value;
|
||||
|
||||
$percent = $this->calcPercent($all, $value);
|
||||
|
||||
$new_key = $this->countKeySuffix($key);
|
||||
|
||||
$this->setCount($value, $key);
|
||||
$this->setCount($percent, $new_key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function calcPercent(int $all, int $count): int
|
||||
{
|
||||
return round(($count / $all) * 100);
|
||||
}
|
||||
|
||||
protected function countToString(): void
|
||||
{
|
||||
foreach ($this->count as &$value) {
|
||||
$value = $this->countFormat($value);
|
||||
}
|
||||
}
|
||||
|
||||
protected function calcCount(int|array $value): int
|
||||
{
|
||||
return is_int($value) ? $value : Counter::make()->count($value);
|
||||
}
|
||||
|
||||
protected function countKeyPrefix(string $key): string
|
||||
{
|
||||
return Str::start($key, $this->count_prefix);
|
||||
}
|
||||
|
||||
protected function countKeySuffix(string $key): string
|
||||
{
|
||||
return Str::finish($key, $this->count_suffix);
|
||||
}
|
||||
|
||||
protected function countFormat(int $count): string
|
||||
{
|
||||
return Digit::toShort($count);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
|
||||
use Helldar\PrettyArray\Services\File as PrettyFile;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
/** @mixin \LaravelLang\Lang\Processors\Processor */
|
||||
trait Excludes
|
||||
{
|
||||
protected static array $excludes = [];
|
||||
|
||||
protected function hasExclude(string $key, string $locale): bool
|
||||
{
|
||||
return in_array($key, $this->getExcludes($locale), true) || in_array($key, $this->getExcludes(), true);
|
||||
}
|
||||
|
||||
protected function getExcludes(string $locale = null): array
|
||||
{
|
||||
$locale = $locale ?: '_all';
|
||||
|
||||
$path = $this->app->excludePath($locale);
|
||||
|
||||
if (static::$excludes[$locale] ?? false) {
|
||||
return static::$excludes[$locale];
|
||||
}
|
||||
|
||||
return static::$excludes[$locale] = File::exists($path) ? PrettyFile::make()->load($path) : [];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Instance;
|
||||
use Helldar\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
|
||||
trait Storable
|
||||
{
|
||||
protected ?string $stub = null;
|
||||
|
||||
protected function prepareToStore(array|string|Stringable $content): string
|
||||
{
|
||||
if (Instance::of($content, Stringable::class)) {
|
||||
return $content->toString();
|
||||
}
|
||||
|
||||
if (is_array($content)) {
|
||||
return implode(PHP_EOL, $content);
|
||||
}
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
protected function getStub(string $filename): string
|
||||
{
|
||||
return $this->findStub($this->stub ?: $filename);
|
||||
}
|
||||
|
||||
protected function findStub(string $filename): string
|
||||
{
|
||||
$basename = pathinfo($filename, PATHINFO_FILENAME);
|
||||
|
||||
$path = $this->app->resourcePath('arrays/' . $basename . '.stub');
|
||||
|
||||
return file_exists($path) ? $path : Stub::PHP_ARRAY;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
|
||||
use Helldar\PrettyArray\Services\File;
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
|
||||
trait Template
|
||||
{
|
||||
protected static array $templates = [];
|
||||
|
||||
protected function template(string $filename, array $values = [], bool $trim = false, bool $return_empty = false): string
|
||||
{
|
||||
$template = $this->getTemplate($filename, $trim);
|
||||
|
||||
return $this->replace($template, $values, $return_empty);
|
||||
}
|
||||
|
||||
protected function replace(string $template, array $values, bool $return_empty = false): string
|
||||
{
|
||||
return $return_empty ? '' : Str::replace($template, $values, '{{%s}}');
|
||||
}
|
||||
|
||||
protected function getTemplate(string $filename, bool $trim = false): string
|
||||
{
|
||||
if (static::$templates[$filename] ?? false) {
|
||||
return static::$templates[$filename];
|
||||
}
|
||||
|
||||
$template = File::make()->loadRaw(
|
||||
$this->templatePath($filename)
|
||||
);
|
||||
|
||||
return static::$templates[$filename] = $trim ? trim($template) : $template;
|
||||
}
|
||||
|
||||
protected function templatePath(string $filename): string
|
||||
{
|
||||
return $this->app->resourcePath($filename);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
|
||||
class Machines
|
||||
{
|
||||
public const LOCALES = [
|
||||
'az',
|
||||
'be',
|
||||
'bg',
|
||||
'bn',
|
||||
'bs',
|
||||
'ca',
|
||||
'cs',
|
||||
'cy',
|
||||
'da',
|
||||
'et',
|
||||
'eu',
|
||||
'fi',
|
||||
'gl',
|
||||
'he',
|
||||
'hi',
|
||||
'is',
|
||||
'ja',
|
||||
'ka',
|
||||
'kk',
|
||||
'kn',
|
||||
'lv',
|
||||
'mn',
|
||||
'mr',
|
||||
'ms',
|
||||
'sk',
|
||||
'sl',
|
||||
'sq',
|
||||
'sr_Cyrl',
|
||||
'sr_Latn',
|
||||
'sr_Latn_ME',
|
||||
'sw',
|
||||
'tg',
|
||||
'th',
|
||||
'tl',
|
||||
'uk',
|
||||
'ur',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
|
||||
final class Referents
|
||||
{
|
||||
public const ar = ['mohamedsabil83', 'Khuthaily'];
|
||||
|
||||
public const da = ['jensstigaard'];
|
||||
|
||||
public const de = ['WhereIsLucas'];
|
||||
|
||||
public const es = ['luisprmat'];
|
||||
|
||||
public const fr = ['caouecs', 'WhereIsLucas'];
|
||||
|
||||
public const it = ['masterix21'];
|
||||
|
||||
public const mk = ['keljtanoski'];
|
||||
|
||||
public const nl = ['WhereIsLucas'];
|
||||
|
||||
public const pt = ['jorgercosta'];
|
||||
|
||||
public const ru = ['andrey-helldar'];
|
||||
|
||||
public const sr_Cyrl = ['LukaLatkovic'];
|
||||
|
||||
public const sr_Latn = ['LukaLatkovic'];
|
||||
|
||||
public const sr_Latn_ME = ['LukaLatkovic'];
|
||||
|
||||
public const uk = ['MrAlKuz'];
|
||||
|
||||
public const vi = ['dinhquochan'];
|
||||
|
||||
public const zh_CN = ['overtrue'];
|
||||
|
||||
public const zh_HK = ['overtrue'];
|
||||
|
||||
public const zh_TW = ['overtrue'];
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
|
||||
final class Resource
|
||||
{
|
||||
public const STATUS = 'status.stub';
|
||||
|
||||
public const LOCALE = 'locale.stub';
|
||||
|
||||
public const REFERENTS = 'referents.stub';
|
||||
|
||||
public const COMPONENT_ALL_TRANSLATED = 'components/translated.stub';
|
||||
|
||||
public const COMPONENT_LINK = 'components/link.stub';
|
||||
|
||||
public const COMPONENT_LOCALE = 'components/locale.stub';
|
||||
|
||||
public const COMPONENT_TABLE = 'components/table/index.stub';
|
||||
|
||||
public const COMPONENT_TABLE_COLUMN = 'components/table/column.stub';
|
||||
|
||||
public const COMPONENT_TABLE_ROW = 'components/table/row.stub';
|
||||
|
||||
public const COMPONENT_TABLE_ATTRIBUTE_ALIGN = 'components/table/attributes/align.stub';
|
||||
|
||||
public const COMPONENT_TABLE_ATTRIBUTE_WIDTH = 'components/table/attributes/width.stub';
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
|
||||
interface Application
|
||||
{
|
||||
public function __construct(string $base_path);
|
||||
|
||||
public function basePath(): string;
|
||||
|
||||
public function sourcePath(string $filename = null): string;
|
||||
|
||||
public function localePath(string $locale = null): string;
|
||||
|
||||
public function excludePath(string $locale): string;
|
||||
|
||||
public function resourcePath(string $filename): string;
|
||||
|
||||
public function path(string $path = null): string;
|
||||
|
||||
public function cleanPath(string $path = null): ?string;
|
||||
|
||||
public function processor(Processable $processor): void;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
|
||||
use Helldar\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Application;
|
||||
|
||||
interface Filesystem
|
||||
{
|
||||
public function application(Application $app): self;
|
||||
|
||||
public function load(string $path): array;
|
||||
|
||||
public function store(string $path, array|string|Stringable $content, bool $is_simple = false, string $stub = Stub::PHP_ARRAY): void;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
|
||||
use LaravelLang\Lang\Application;
|
||||
|
||||
interface Processable
|
||||
{
|
||||
public function run(): void;
|
||||
|
||||
public function application(Application $app): self;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
|
||||
interface Stringable
|
||||
{
|
||||
public function toString(): string;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Facades;
|
||||
|
||||
use Dotenv\Repository\AdapterRepository;
|
||||
use Dotenv\Repository\RepositoryInterface;
|
||||
use Helldar\Support\Facades\BaseFacade;
|
||||
use LaravelLang\Lang\Support\Env as Support;
|
||||
|
||||
/**
|
||||
* @method static mixed get(string $key, mixed $default = null)
|
||||
* @method static AdapterRepository|RepositoryInterface getRepository()
|
||||
*/
|
||||
class Env extends BaseFacade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return Support::class;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Facades;
|
||||
|
||||
use Helldar\Support\Facades\BaseFacade;
|
||||
use LaravelLang\Lang\Services\Translate as Service;
|
||||
|
||||
/**
|
||||
* @method static string translate(string $locale, string $text)
|
||||
*/
|
||||
final class Translate extends BaseFacade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return Service::class;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Models;
|
||||
|
||||
use LaravelLang\Lang\Constants\Machines;
|
||||
|
||||
final class Locale extends Model
|
||||
{
|
||||
public function __construct(
|
||||
protected ?string $locale = null,
|
||||
protected ?int $missing = 0
|
||||
) {
|
||||
}
|
||||
|
||||
public function getLocale(): ?string
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
|
||||
public function getTitle(): ?string
|
||||
{
|
||||
if (! $this->isEmpty()) {
|
||||
$status = $this->getMissing() ? '❗' : '✔';
|
||||
|
||||
$machine = $this->hasMachine() ? ' 🤖' : '';
|
||||
|
||||
return $this->locale . ' ' . $status . $machine;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getMissing(): ?int
|
||||
{
|
||||
return $this->missing;
|
||||
}
|
||||
|
||||
public function isEmpty(): bool
|
||||
{
|
||||
return empty($this->locale);
|
||||
}
|
||||
|
||||
protected function hasMachine(): bool
|
||||
{
|
||||
return in_array($this->locale, Machines::LOCALES, true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Models;
|
||||
|
||||
use Helldar\Support\Concerns\Makeable;
|
||||
|
||||
abstract class Model
|
||||
{
|
||||
use Makeable;
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Arr;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
final class Excludes extends Processor
|
||||
{
|
||||
protected string $target_path = 'excludes';
|
||||
|
||||
protected array $keys = [];
|
||||
|
||||
protected ?string $stub = 'exclude.stub';
|
||||
|
||||
public function run(): void
|
||||
{
|
||||
$this->loadKeys();
|
||||
$this->handle();
|
||||
}
|
||||
|
||||
protected function handle(): void
|
||||
{
|
||||
foreach ($this->targetFiles() as $filename) {
|
||||
$this->process($this->getTargetPath($filename), $filename);
|
||||
}
|
||||
}
|
||||
|
||||
protected function process(string $target_path, string $filename, string $locale = null): void
|
||||
{
|
||||
$target = $this->load($target_path);
|
||||
|
||||
$content = $this->merge($this->keys, $target, $filename);
|
||||
|
||||
$this->sort($content);
|
||||
|
||||
$this->store($target_path, array_values($content), $this->stub, true);
|
||||
}
|
||||
|
||||
protected function merge(array $source, array $target, string $filename): array
|
||||
{
|
||||
return array_intersect($source, $target);
|
||||
}
|
||||
|
||||
protected function sort(array &$array): void
|
||||
{
|
||||
$array = Arr::sort(array_unique($array));
|
||||
}
|
||||
|
||||
protected function loadKeys(): void
|
||||
{
|
||||
foreach ($this->sourceFiles() as $filename) {
|
||||
$keys = $this->getSourceKeys($filename);
|
||||
|
||||
$this->keys = array_merge($this->keys, $keys);
|
||||
}
|
||||
}
|
||||
|
||||
protected function sourceFiles(): array
|
||||
{
|
||||
return File::names($this->getSourcePath());
|
||||
}
|
||||
|
||||
protected function targetFiles(): array
|
||||
{
|
||||
return File::names($this->getTargetPath());
|
||||
}
|
||||
|
||||
protected function getSourceKeys(string $filename): array
|
||||
{
|
||||
$items = $this->load($this->getSourcePath($filename));
|
||||
|
||||
return array_keys($items);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
|
||||
class Git extends Processor
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
foreach ($this->locales() as $locale) {
|
||||
dump($locale . '...');
|
||||
|
||||
$this->checkout();
|
||||
$this->createBranch($locale);
|
||||
$this->add($locale);
|
||||
$this->commit($locale);
|
||||
$this->push($locale);
|
||||
}
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->getLocalesPath());
|
||||
}
|
||||
|
||||
protected function checkout(): void
|
||||
{
|
||||
$this->git(sprintf('checkout "%s"', $this->getSourceBranchName()));
|
||||
}
|
||||
|
||||
protected function add(string $locale): void
|
||||
{
|
||||
$this->git(sprintf('add locales/%s/*', $locale));
|
||||
}
|
||||
|
||||
protected function commit(string $locale): void
|
||||
{
|
||||
$message = $this->getMessage($locale);
|
||||
|
||||
$this->git(sprintf('commit -m "%s"', $message));
|
||||
}
|
||||
|
||||
protected function push(string $locale): void
|
||||
{
|
||||
$repository = env('GIT_REPOSITORY', 'origin');
|
||||
|
||||
$branch = $this->getTargetBranchName($locale);
|
||||
|
||||
$this->git(sprintf('push --set-upstream %s %s', $repository, $branch));
|
||||
}
|
||||
|
||||
protected function createBranch(string $locale): void
|
||||
{
|
||||
$source_branch = $this->getSourceBranchName();
|
||||
$target_branch = $this->getTargetBranchName($locale);
|
||||
|
||||
$this->git(sprintf('checkout -b "%s" "%s"', $target_branch, $source_branch));
|
||||
}
|
||||
|
||||
protected function git(string $command): void
|
||||
{
|
||||
$directory = $this->getGitDirectory();
|
||||
|
||||
exec('git -C "' . $directory . '" ' . $command);
|
||||
}
|
||||
|
||||
protected function getLocalesPath(): string
|
||||
{
|
||||
return $this->app->localePath();
|
||||
}
|
||||
|
||||
protected function getGitDirectory(): string
|
||||
{
|
||||
$directory = $this->app->basePath();
|
||||
|
||||
return realpath($directory);
|
||||
}
|
||||
|
||||
protected function getSourceBranchName(): string
|
||||
{
|
||||
return env('GIT_SOURCE_BRANCH', 'main');
|
||||
}
|
||||
|
||||
protected function getTargetBranchName(string $locale): string
|
||||
{
|
||||
$prefix = env('GIT_TARGET_BRANCH', 'patch');
|
||||
|
||||
return sprintf('%s/%s/%s', $prefix, date('Y-m-d'), $locale);
|
||||
}
|
||||
|
||||
protected function getMessage(string $locale): string
|
||||
{
|
||||
$message = env('GIT_MESSAGE');
|
||||
|
||||
return sprintf($message, $locale);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
|
||||
final class Json extends Processor
|
||||
{
|
||||
protected string $target_path = 'locales';
|
||||
|
||||
public function run(): void
|
||||
{
|
||||
foreach ($this->locales() as $locale) {
|
||||
$target_path = $this->getTargetPath($locale . '/' . $locale . '.json');
|
||||
|
||||
$this->process($target_path, 'en.json', $locale);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
final class Php extends Processor
|
||||
{
|
||||
protected string $target_path = 'locales';
|
||||
|
||||
public function run(): void
|
||||
{
|
||||
foreach ($this->locales() as $locale) {
|
||||
foreach ($this->files($locale) as $file) {
|
||||
$target_path = $this->getTargetPath($locale . '/' . $file);
|
||||
|
||||
$this->process($target_path, $file, $locale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function files(string $locale): array
|
||||
{
|
||||
return File::names($this->getTargetPath($locale), fn ($filename) => $this->isPhp($filename));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
|
||||
use Helldar\Support\Concerns\Makeable;
|
||||
use Helldar\Support\Facades\Helpers\Arr;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use Helldar\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Lang\Concerns\Contains;
|
||||
use LaravelLang\Lang\Contracts\Filesystem;
|
||||
use LaravelLang\Lang\Contracts\Processable;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Filesystem\Base;
|
||||
use LaravelLang\Lang\Services\Filesystem\Json as JsonFilesystem;
|
||||
use LaravelLang\Lang\Services\Filesystem\Markdown as MarkdownFilesystem;
|
||||
use LaravelLang\Lang\Services\Filesystem\Php as PhpFilesystem;
|
||||
|
||||
abstract class Processor implements Processable
|
||||
{
|
||||
use Contains;
|
||||
use Makeable;
|
||||
|
||||
protected Application $app;
|
||||
|
||||
protected array $source = [];
|
||||
|
||||
protected string $target_path;
|
||||
|
||||
/** @var \LaravelLang\Lang\Contracts\Filesystem[]|array */
|
||||
protected array $filesystems = [];
|
||||
|
||||
public function application(Application $app): Processable
|
||||
{
|
||||
$this->app = $app;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function merge(array $source, array $target, string $filename): array
|
||||
{
|
||||
$target = Arr::only($target, array_keys($source));
|
||||
|
||||
$this->sort($source);
|
||||
$this->sort($target);
|
||||
|
||||
if ($this->isValidation($filename)) {
|
||||
$custom = $this->getFallbackValue($source, $target, 'custom');
|
||||
$attributes = $this->getFallbackValue($source, $target, 'attributes');
|
||||
|
||||
$source = Arr::except($source, ['custom', 'attributes']);
|
||||
$target = Arr::except($target, ['custom', 'attributes']);
|
||||
|
||||
return array_merge($source, $target, compact('custom', 'attributes'));
|
||||
}
|
||||
|
||||
return array_merge($source, $target);
|
||||
}
|
||||
|
||||
protected function process(string $target_path, string $filename, string $locale = null): void
|
||||
{
|
||||
$source = $this->source($filename);
|
||||
$target = $this->load($target_path);
|
||||
|
||||
$content = $this->merge($source, $target, $filename);
|
||||
|
||||
$this->store($target_path, $content, $filename);
|
||||
}
|
||||
|
||||
protected function source(string $filename): array
|
||||
{
|
||||
if ($this->source[$filename] ?? false) {
|
||||
return $this->source[$filename];
|
||||
}
|
||||
|
||||
return $this->source[$filename] = $this->load($this->getSourcePath($filename));
|
||||
}
|
||||
|
||||
protected function getFallbackValue(array $source, array $target, string $key)
|
||||
{
|
||||
return Arr::get($target, $key) ?: Arr::get($source, $key, []);
|
||||
}
|
||||
|
||||
protected function getTargetPath(string $path = null): string
|
||||
{
|
||||
if ($path = $this->app->cleanPath($path)) {
|
||||
$path = '/' . $path;
|
||||
}
|
||||
|
||||
return $this->app->path($this->target_path . $path);
|
||||
}
|
||||
|
||||
protected function getSourcePath(string $filename = null): string
|
||||
{
|
||||
return $this->app->sourcePath($filename);
|
||||
}
|
||||
|
||||
protected function sort(array &$array): void
|
||||
{
|
||||
$array = Arr::ksort($array);
|
||||
}
|
||||
|
||||
protected function load(string $path): array
|
||||
{
|
||||
return $this->getFilesystem($path)->load($path);
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->getTargetPath());
|
||||
}
|
||||
|
||||
protected function getFilesystem(string $filename): Filesystem
|
||||
{
|
||||
$class = $this->getFilesystemClass($filename);
|
||||
|
||||
if ($this->filesystems[$class] ?? false) {
|
||||
return $this->filesystems[$class];
|
||||
}
|
||||
|
||||
return $this->filesystems[$class] = $this->loadFilesystem($class);
|
||||
}
|
||||
|
||||
protected function getFilesystemClass(string $path): string
|
||||
{
|
||||
return match (true) {
|
||||
$this->isJson($path) => JsonFilesystem::class,
|
||||
$this->isMarkdown($path) => MarkdownFilesystem::class,
|
||||
default => PhpFilesystem::class,
|
||||
};
|
||||
}
|
||||
|
||||
protected function loadFilesystem(Filesystem|Base|string $filesystem): Filesystem
|
||||
{
|
||||
return $filesystem::make()->application($this->app);
|
||||
}
|
||||
|
||||
protected function store(string $path, array|string|Stringable $content, string $source_filename = null, bool $is_simple = false): void
|
||||
{
|
||||
$stub = $this->getStubPath($source_filename);
|
||||
|
||||
$this->getFilesystem($path)->store($path, $content, $is_simple, $stub);
|
||||
}
|
||||
|
||||
protected function getStubPath(?string $filename): ?string
|
||||
{
|
||||
return empty($filename) ? Stub::PHP_ARRAY : $filename;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use LaravelLang\Lang\Concerns\Template;
|
||||
use LaravelLang\Lang\Constants\Referents as Constants;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Compilers\Referents as Compilator;
|
||||
use ReflectionClass;
|
||||
use ReflectionClassConstant;
|
||||
|
||||
final class Referents extends Processor
|
||||
{
|
||||
use Template;
|
||||
|
||||
protected string $target_path = 'locales';
|
||||
|
||||
public function run(): void
|
||||
{
|
||||
$map = $this->map();
|
||||
|
||||
$result = $this->compileContent($map);
|
||||
|
||||
$this->store('docs/referents.md', $result);
|
||||
}
|
||||
|
||||
protected function compileContent(array $items): Stringable
|
||||
{
|
||||
return Compilator::make($this->app)->items($items);
|
||||
}
|
||||
|
||||
protected function map(): array
|
||||
{
|
||||
$locales = array_flip($this->locales());
|
||||
|
||||
return array_merge($locales, $this->assignees());
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->getTargetPath());
|
||||
}
|
||||
|
||||
protected function assignees(): array
|
||||
{
|
||||
$class = new ReflectionClass(Constants::class);
|
||||
|
||||
return $class->getConstants(ReflectionClassConstant::IS_PUBLIC);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Compilers\Collection;
|
||||
use LaravelLang\Lang\Services\Compilers\Locale;
|
||||
|
||||
final class Locales extends Processor
|
||||
{
|
||||
protected function saving(): void
|
||||
{
|
||||
foreach ($this->locales as $locale => $items) {
|
||||
$count = $this->countMissing($locale);
|
||||
$content = $this->compileList($items);
|
||||
|
||||
$result = $this->compileContent($content, $locale, $count);
|
||||
|
||||
$filename = Str::slug($locale);
|
||||
|
||||
$this->store($this->pathStatus($filename . '.md'), $result);
|
||||
}
|
||||
}
|
||||
|
||||
protected function compileContent(string $content, string $locale, int $count): Stringable
|
||||
{
|
||||
return Locale::make($this->app)->items(compact('locale', 'count', 'content'));
|
||||
}
|
||||
|
||||
protected function compileList(array $items): string
|
||||
{
|
||||
$content = Collection::make($this->app)->items($items)->toString();
|
||||
|
||||
return $content ?: $this->template(Resource::COMPONENT_ALL_TRANSLATED);
|
||||
}
|
||||
|
||||
protected function ensureDirectory(): void
|
||||
{
|
||||
if (Directory::exists($this->pathStatus())) {
|
||||
Directory::delete($this->pathStatus());
|
||||
}
|
||||
|
||||
Directory::make($this->pathStatus());
|
||||
}
|
||||
|
||||
protected function pathStatus(string $filename = null): string
|
||||
{
|
||||
return $this->app->path('docs/statuses/' . $filename);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Compilers\Status;
|
||||
|
||||
final class Main extends Processor
|
||||
{
|
||||
protected function saving(): void
|
||||
{
|
||||
$result = $this->compileContent($this->locales);
|
||||
|
||||
$this->store('docs/status.md', $result);
|
||||
}
|
||||
|
||||
protected function compileContent(array $items): Stringable
|
||||
{
|
||||
return Status::make($this->app)
|
||||
->extend($this->getCounts())
|
||||
->items($items);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Arr;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\File;
|
||||
use Helldar\Support\Facades\Tools\Sorter;
|
||||
use LaravelLang\Lang\Concerns\Countable;
|
||||
use LaravelLang\Lang\Concerns\Excludes;
|
||||
use LaravelLang\Lang\Concerns\Template;
|
||||
use LaravelLang\Lang\Processors\Processor as BaseProcessor;
|
||||
|
||||
abstract class Processor extends BaseProcessor
|
||||
{
|
||||
use Countable;
|
||||
use Excludes;
|
||||
use Template;
|
||||
|
||||
protected string $extension = '.md';
|
||||
|
||||
protected string $target_path = 'statuses';
|
||||
|
||||
protected array $source_files = [];
|
||||
|
||||
protected array $locales = [];
|
||||
|
||||
abstract protected function saving(): void;
|
||||
|
||||
public function run(): void
|
||||
{
|
||||
$this->ensureDirectory();
|
||||
$this->handle();
|
||||
$this->saving();
|
||||
}
|
||||
|
||||
protected function handle(): void
|
||||
{
|
||||
foreach ($this->locales() as $locale) {
|
||||
foreach ($this->files() as $file) {
|
||||
$target_path = $this->getTargetPath($locale . $this->extension);
|
||||
|
||||
$this->process($target_path, $file, $locale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function process(string $target_path, string $filename, string $locale = null): void
|
||||
{
|
||||
$corrected = $this->getCorrectedFilename($filename, $locale);
|
||||
|
||||
$source = $this->source($filename);
|
||||
$target = $this->target($locale, $corrected);
|
||||
|
||||
$is_validation = $this->isValidation($filename);
|
||||
|
||||
$this->addCount($source);
|
||||
|
||||
if ($diff = $this->compare($source, $target, $locale, $is_validation)) {
|
||||
$key = $this->getFileBasename($corrected);
|
||||
|
||||
$this->locales[$locale][$key] = $diff;
|
||||
|
||||
$this->addCount($diff, 'diff');
|
||||
} else {
|
||||
$this->locales[$locale] = [];
|
||||
}
|
||||
}
|
||||
|
||||
protected function compare(array $source, array $target, string $locale, bool $is_validation): array
|
||||
{
|
||||
return array_filter($target,
|
||||
fn ($value, $key) => $this->hasEquals($value, $key, $source, $locale, $is_validation),
|
||||
ARRAY_FILTER_USE_BOTH
|
||||
);
|
||||
}
|
||||
|
||||
protected function hasEquals($value, $key, array $source, string $locale, bool $is_validation): bool
|
||||
{
|
||||
if ($is_validation && in_array($key, ['custom', 'attributes'], true)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($this->hasExclude($key, $locale)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return Arr::get($source, $key) === $value;
|
||||
}
|
||||
|
||||
protected function countMissing(string $locale): int
|
||||
{
|
||||
$items = array_map(static fn (array $items) => count($items), $this->locales[$locale]);
|
||||
|
||||
return array_sum($items);
|
||||
}
|
||||
|
||||
protected function getLocalePath(string $locale = null): string
|
||||
{
|
||||
return $this->app->localePath($locale);
|
||||
}
|
||||
|
||||
protected function getFileBasename(string $filename): string
|
||||
{
|
||||
$flag = $this->isJson($filename) ? PATHINFO_EXTENSION : PATHINFO_FILENAME;
|
||||
|
||||
return pathinfo($filename, $flag);
|
||||
}
|
||||
|
||||
protected function getCorrectedFilename(string $filename, string $locale): string
|
||||
{
|
||||
return $this->isJson($filename) ? $locale . '.json' : $filename;
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->getLocalePath());
|
||||
}
|
||||
|
||||
protected function files(): array
|
||||
{
|
||||
if (! empty($this->source_files)) {
|
||||
return $this->source_files;
|
||||
}
|
||||
|
||||
$files = File::names($this->getSourcePath());
|
||||
|
||||
return $this->source_files = Arr::sort($files, function (string $a, string $b) {
|
||||
if ($a === $b) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ($this->isJson($a)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
$sorter = Sorter::defaultCallback();
|
||||
|
||||
return $sorter($a, $b);
|
||||
});
|
||||
}
|
||||
|
||||
protected function target(string $locale, string $filename): array
|
||||
{
|
||||
$corrected = $this->getCorrectedFilename($filename, $locale);
|
||||
|
||||
$path = $this->getLocalePath($locale . '/' . $corrected);
|
||||
|
||||
return $this->load($path);
|
||||
}
|
||||
|
||||
protected function ensureDirectory(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
|
||||
use LaravelLang\Lang\Facades\Translate;
|
||||
use Throwable;
|
||||
|
||||
final class Translator extends Processor
|
||||
{
|
||||
protected function saving(): void
|
||||
{
|
||||
foreach ($this->locales as $locale => $items) {
|
||||
foreach ($items as $filename => $values) {
|
||||
dump(sprintf('[%s] %s...', $locale, $filename));
|
||||
|
||||
$filename = $this->restoreFilename($locale, $filename);
|
||||
|
||||
$this->translateKeys($locale, $filename, $values);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function translateKeys(string $locale, string $filename, array $items): void
|
||||
{
|
||||
try {
|
||||
foreach ($items as &$item) {
|
||||
$item = $this->translate($locale, $item);
|
||||
}
|
||||
}
|
||||
catch (Throwable $e) {
|
||||
dump($e->getMessage());
|
||||
}
|
||||
finally {
|
||||
$this->storing($locale, $filename, $items);
|
||||
}
|
||||
}
|
||||
|
||||
protected function storing(string $locale, string $filename, array $items): void
|
||||
{
|
||||
$target_path = $this->getLocalePath($locale) . '/' . $filename;
|
||||
|
||||
$source_filename = $this->isJson($filename) ? 'en.json' : $filename;
|
||||
|
||||
$source = $this->source($source_filename);
|
||||
$target = $this->target($locale, $filename);
|
||||
|
||||
$target = array_merge($target, $items);
|
||||
|
||||
$content = $this->merge($source, $target, $filename);
|
||||
|
||||
$this->store($target_path, $content, $filename);
|
||||
}
|
||||
|
||||
protected function translate(string $locale, string $text): string
|
||||
{
|
||||
$map = [];
|
||||
|
||||
$transformed = $this->transformText($text, $map);
|
||||
|
||||
$translated = Translate::translate($locale, $transformed);
|
||||
|
||||
return $this->restoreText($translated, $map);
|
||||
}
|
||||
|
||||
protected function transformText(string $text, array &$map): string
|
||||
{
|
||||
preg_match_all('/:[a-z]+/', $text, $matches);
|
||||
|
||||
foreach ($matches as $match) {
|
||||
foreach ($match as $key) {
|
||||
$map[$key] = $this->getRandomValue($map);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->transformReplace($text, $map);
|
||||
}
|
||||
|
||||
protected function restoreText(string $text, array $map): string
|
||||
{
|
||||
return $this->transformReplace($text, array_flip($map));
|
||||
}
|
||||
|
||||
protected function transformReplace(string $text, array $items): string
|
||||
{
|
||||
return str_replace(array_keys($items), array_values($items), $text);
|
||||
}
|
||||
|
||||
protected function getRandomValue(array $items): int
|
||||
{
|
||||
$random = random_int(1000, 9999);
|
||||
|
||||
return in_array($random, $items, true) ? $this->getRandomValue($items) : $random;
|
||||
}
|
||||
|
||||
protected function restoreFilename(string $locale, string $filename): string
|
||||
{
|
||||
return $this->isJson($filename) ? $locale . '.json' : $filename . '.php';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
|
||||
final class Collection extends Compiler
|
||||
{
|
||||
public function toString(): string
|
||||
{
|
||||
$result = '';
|
||||
|
||||
foreach ($this->items as $filename => $values) {
|
||||
$is_json = $this->isJson($filename);
|
||||
|
||||
$content = $this->compileItems($values, $is_json);
|
||||
|
||||
$count = count($values);
|
||||
|
||||
$result .= $this->compileLocale($content, $count, $filename);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
protected function compileLocale(string $content, int $count, string $filename): string
|
||||
{
|
||||
return $this->template(Resource::COMPONENT_LOCALE, compact('count', 'filename', 'content'));
|
||||
}
|
||||
|
||||
protected function compileItems(array $items, bool $is_json = false): string
|
||||
{
|
||||
$rows = $this->split($items, $is_json);
|
||||
|
||||
return Table::make($this->app)->items($rows)->toString();
|
||||
}
|
||||
|
||||
protected function split(array $items, bool $is_json = false): array
|
||||
{
|
||||
return $is_json
|
||||
? array_values(array_map(static fn ($key) => [$key], array_keys($items)))
|
||||
: array_values(array_map(static fn ($key, $value) => [$key, $value], array_keys($items), array_values($items)));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
|
||||
use Helldar\Support\Concerns\Makeable;
|
||||
use LaravelLang\Lang\Concerns\Contains;
|
||||
use LaravelLang\Lang\Concerns\Template;
|
||||
use LaravelLang\Lang\Contracts\Application;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
|
||||
abstract class Compiler implements Stringable
|
||||
{
|
||||
use Contains;
|
||||
use Makeable;
|
||||
use Template;
|
||||
|
||||
protected array $items;
|
||||
|
||||
protected array $extend = [];
|
||||
|
||||
public function __construct(
|
||||
protected Application $app
|
||||
) {
|
||||
}
|
||||
|
||||
public function items(array $items): self
|
||||
{
|
||||
$this->items = $items;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function extend(array $values): self
|
||||
{
|
||||
$this->extend = $values;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
|
||||
final class Locale extends Compiler
|
||||
{
|
||||
public function toString(): string
|
||||
{
|
||||
return $this->template(Resource::LOCALE, $this->items);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
|
||||
final class Referents extends Compiler
|
||||
{
|
||||
public function toString(): string
|
||||
{
|
||||
$content = $this->compileContent();
|
||||
|
||||
return $this->template(Resource::REFERENTS, compact('content'));
|
||||
}
|
||||
|
||||
protected function compileContent(): string
|
||||
{
|
||||
$rows = [];
|
||||
|
||||
foreach ($this->items as $key => $value) {
|
||||
$rows[] = $this->mapRow($key, $value);
|
||||
}
|
||||
|
||||
return Table::make($this->app)->items($rows)->toString();
|
||||
}
|
||||
|
||||
protected function mapRow(string $key, int|array $values): array
|
||||
{
|
||||
$row = [$key, ''];
|
||||
|
||||
if (is_array($values)) {
|
||||
$row[1] = $this->mapAssignees($values);
|
||||
}
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
||||
protected function mapAssignees(array $values): string
|
||||
{
|
||||
$result = [];
|
||||
|
||||
foreach ($values as $value) {
|
||||
$result[] = $this->template(Resource::COMPONENT_LINK, [
|
||||
'title' => '@' . $value,
|
||||
'link' => 'https://github.com/' . $value,
|
||||
]);
|
||||
}
|
||||
|
||||
return implode(', ', $result);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Lang\Models\Locale;
|
||||
|
||||
final class Status extends Compiler
|
||||
{
|
||||
protected int $columns = 8;
|
||||
|
||||
public function toString(): string
|
||||
{
|
||||
return $this->template(Resource::STATUS, $this->getContent());
|
||||
}
|
||||
|
||||
protected function grouped(): array
|
||||
{
|
||||
$locales = [];
|
||||
|
||||
foreach ($this->items as $locale => $values) {
|
||||
$missing = count($values);
|
||||
|
||||
$locales[] = Locale::make($locale, $missing);
|
||||
}
|
||||
|
||||
return $this->group($locales);
|
||||
}
|
||||
|
||||
protected function group(array $items): array
|
||||
{
|
||||
return array_map(function (array $items) {
|
||||
if (count($items) < $this->columns) {
|
||||
$need = $this->columns - count($items);
|
||||
|
||||
$filled = array_fill(0, $need, Locale::make());
|
||||
|
||||
return array_merge($items, $filled);
|
||||
}
|
||||
|
||||
return $items;
|
||||
}, array_chunk($items, $this->columns));
|
||||
}
|
||||
|
||||
protected function compileContent(): string
|
||||
{
|
||||
$rows = [];
|
||||
|
||||
foreach ($this->grouped() as $items) {
|
||||
$rows[] = $this->mapRow($items);
|
||||
}
|
||||
|
||||
return Table::make($this->app)
|
||||
->items($rows)
|
||||
->align('center')
|
||||
->columns($this->columns)
|
||||
->toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \LaravelLang\Lang\Models\Locale[]|array $items
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function mapRow(array $items): array
|
||||
{
|
||||
$row = [];
|
||||
|
||||
foreach ($items as $item) {
|
||||
$row[] = $this->template(Resource::COMPONENT_LINK, [
|
||||
'title' => $item->getTitle(),
|
||||
'link' => $this->link($item->getLocale()),
|
||||
], return_empty: $item->isEmpty());
|
||||
}
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
||||
protected function getContent(): array
|
||||
{
|
||||
$content = $this->compileContent();
|
||||
|
||||
return array_merge(compact('content'), $this->extend);
|
||||
}
|
||||
|
||||
protected function link(?string $value): string
|
||||
{
|
||||
return empty($value) ? '' : sprintf('statuses/%s.md', Str::slug($value));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
|
||||
final class Table extends Compiler
|
||||
{
|
||||
protected string $align = 'left';
|
||||
|
||||
protected int $columns = 1;
|
||||
|
||||
public function align(string $align): self
|
||||
{
|
||||
$this->align = $align;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function columns(int $columns): self
|
||||
{
|
||||
$this->columns = $columns;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function toString(): string
|
||||
{
|
||||
$width = $this->getWidth($this->getTableWidth());
|
||||
|
||||
$content = $this->compileRows();
|
||||
|
||||
return $this->template(Resource::COMPONENT_TABLE, compact('width', 'content'));
|
||||
}
|
||||
|
||||
protected function compileRows(): string
|
||||
{
|
||||
$result = '';
|
||||
|
||||
foreach ($this->items as $row) {
|
||||
$columns = '';
|
||||
|
||||
foreach ($row as $value) {
|
||||
$columns .= $this->compileColumn($value);
|
||||
}
|
||||
|
||||
$result .= $this->compileRow($columns);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
protected function compileRow(string $row): string
|
||||
{
|
||||
return $this->template(Resource::COMPONENT_TABLE_ROW, compact('row'));
|
||||
}
|
||||
|
||||
protected function compileColumn(string $column): string
|
||||
{
|
||||
$align = $this->getAlign();
|
||||
$width = $this->getWidth($this->getColumnWidth());
|
||||
|
||||
return $this->template(Resource::COMPONENT_TABLE_COLUMN, compact('align', 'width', 'column'));
|
||||
}
|
||||
|
||||
protected function getAlign(): string
|
||||
{
|
||||
$align = $this->align;
|
||||
|
||||
return $this->template(Resource::COMPONENT_TABLE_ATTRIBUTE_ALIGN, compact('align'), true);
|
||||
}
|
||||
|
||||
protected function getWidth(?int $width): ?string
|
||||
{
|
||||
if (! $width) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->template(Resource::COMPONENT_TABLE_ATTRIBUTE_WIDTH, compact('width'), true);
|
||||
}
|
||||
|
||||
protected function getTableWidth(): ?int
|
||||
{
|
||||
return $this->hasColumns() ? 100 : null;
|
||||
}
|
||||
|
||||
protected function getColumnWidth(): ?int
|
||||
{
|
||||
return $this->hasColumns() ? round(100 / $this->getColumns()) : null;
|
||||
}
|
||||
|
||||
protected function hasColumns(): bool
|
||||
{
|
||||
return $this->getColumns() > 1;
|
||||
}
|
||||
|
||||
protected function getColumns(): int
|
||||
{
|
||||
return abs($this->columns);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services;
|
||||
|
||||
use Helldar\Support\Concerns\Makeable;
|
||||
|
||||
final class Counter
|
||||
{
|
||||
use Makeable;
|
||||
|
||||
protected int $count = 0;
|
||||
|
||||
public function count(array $items): int
|
||||
{
|
||||
$this->calculate($items);
|
||||
|
||||
return $this->count;
|
||||
}
|
||||
|
||||
protected function calculate(array $items): void
|
||||
{
|
||||
foreach ($items as $item) {
|
||||
is_array($item) ? $this->calculate($item) : $this->count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
|
||||
use Helldar\Support\Concerns\Makeable;
|
||||
use Helldar\Support\Facades\Helpers\Arr;
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Lang\Concerns\Storable;
|
||||
use LaravelLang\Lang\Contracts\Filesystem;
|
||||
|
||||
abstract class Base implements Filesystem
|
||||
{
|
||||
use Makeable;
|
||||
use Storable;
|
||||
|
||||
protected Application $app;
|
||||
|
||||
public function application(Application $app): Filesystem
|
||||
{
|
||||
$this->app = $app;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function load(string $path): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
protected function correctValues(array $items): array
|
||||
{
|
||||
return Arr::map($items, static fn ($value) => str_replace('\"', '"', $value), true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
|
||||
use Helldar\PrettyArray\Services\File as Pretty;
|
||||
use Helldar\Support\Facades\Helpers\Arr;
|
||||
use Helldar\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
|
||||
final class Json extends Base
|
||||
{
|
||||
public function load(string $path): array
|
||||
{
|
||||
$content = Pretty::make()->loadRaw($path);
|
||||
|
||||
$items = json_decode($content, true);
|
||||
|
||||
return $this->correctValues($items);
|
||||
}
|
||||
|
||||
public function store(string $path, array|string|Stringable $content, bool $is_simple = false, string $stub = Stub::PHP_ARRAY): void
|
||||
{
|
||||
if ($is_simple) {
|
||||
$content = array_values($content);
|
||||
}
|
||||
|
||||
Arr::storeAsJson($path, $content, false, JSON_UNESCAPED_UNICODE ^ JSON_PRETTY_PRINT);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\File;
|
||||
use Helldar\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
|
||||
final class Markdown extends Base
|
||||
{
|
||||
public function store(string $path, array|string|Stringable $content, bool $is_simple = false, string $stub = Stub::PHP_ARRAY): void
|
||||
{
|
||||
$content = $this->prepareToStore($content);
|
||||
|
||||
File::store($path, $content);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
|
||||
use Helldar\PrettyArray\Services\File as Pretty;
|
||||
use Helldar\PrettyArray\Services\Formatter;
|
||||
use Helldar\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
|
||||
final class Php extends Base
|
||||
{
|
||||
public function load(string $path): array
|
||||
{
|
||||
$items = Pretty::make()->load($path);
|
||||
|
||||
return $this->correctValues($items);
|
||||
}
|
||||
|
||||
public function store(string $path, array|string|Stringable $content, bool $is_simple = false, string $stub = Stub::PHP_ARRAY): void
|
||||
{
|
||||
$service = Formatter::make();
|
||||
|
||||
$is_simple
|
||||
? $service->setSimple()
|
||||
: $service->setEqualsAlign();
|
||||
|
||||
Pretty::make($service->raw($content))->store($path, $this->getStub($stub));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services;
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\RequestOptions;
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
|
||||
final class Translate
|
||||
{
|
||||
protected string $url = 'https://translate.api.cloud.yandex.net/translate/v2/translate';
|
||||
|
||||
public function translate(string $locale, string $text): string
|
||||
{
|
||||
$content = $this->request($locale, $text);
|
||||
|
||||
return $content['translations'][0]['text'];
|
||||
}
|
||||
|
||||
protected function request(string $locale, string $text): array
|
||||
{
|
||||
$response = $this->client()->request('POST', $this->url, [
|
||||
RequestOptions::HEADERS => $this->headers(),
|
||||
RequestOptions::JSON => $this->body($locale, $text),
|
||||
]);
|
||||
|
||||
return json_decode($response->getBody()->getContents(), true);
|
||||
}
|
||||
|
||||
protected function headers(): array
|
||||
{
|
||||
return [
|
||||
'Authorization' => 'Bearer ' . $this->apiKey(),
|
||||
];
|
||||
}
|
||||
|
||||
protected function body(string $locale, string $text): array
|
||||
{
|
||||
return [
|
||||
'targetLanguageCode' => $this->correctLocale($locale),
|
||||
|
||||
'texts' => [$text],
|
||||
|
||||
'folderId' => $this->folderId(),
|
||||
];
|
||||
}
|
||||
|
||||
protected function correctLocale(string $locale): string
|
||||
{
|
||||
return Str::before($locale, '_');
|
||||
}
|
||||
|
||||
protected function client(): Client
|
||||
{
|
||||
return new Client();
|
||||
}
|
||||
|
||||
protected function apiKey(): string
|
||||
{
|
||||
return env('YANDEX_API_KEY');
|
||||
}
|
||||
|
||||
protected function folderId(): string
|
||||
{
|
||||
return env('YANDEX_API_FOLDER_ID');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Support;
|
||||
|
||||
use Dotenv\Repository\AdapterRepository;
|
||||
use Dotenv\Repository\RepositoryBuilder;
|
||||
use Dotenv\Repository\RepositoryInterface;
|
||||
use PhpOption\Option;
|
||||
|
||||
final class Env
|
||||
{
|
||||
protected static RepositoryInterface|AdapterRepository|null $repository;
|
||||
|
||||
public function get(string $key, mixed $default = null): mixed
|
||||
{
|
||||
$value = $this->getRepository()->get($key);
|
||||
|
||||
return Option::fromValue($value)->getOrElse($default);
|
||||
}
|
||||
|
||||
public function getRepository(): AdapterRepository|RepositoryInterface
|
||||
{
|
||||
if (self::$repository ?? false) {
|
||||
return self::$repository;
|
||||
}
|
||||
|
||||
$builder = RepositoryBuilder::createWithDefaultAdapters();
|
||||
|
||||
return self::$repository = $builder->immutable()->make();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Facades\Env;
|
||||
|
||||
if (! function_exists('env')) {
|
||||
/**
|
||||
* Determine if the given value is "blank".
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed|null $default
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function env(string $key, mixed $default = null): mixed
|
||||
{
|
||||
return Env::get($key, $default);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Git;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Git::make());
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Referents;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Referents::make());
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
return {{slot}};
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Exclusion list
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is a list of exclusions for words or phrases where the original
|
||||
| form of the word has the same spelling in a given language.
|
||||
|
|
||||
*/
|
||||
|
||||
return {{slot}};
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
return {{slot}};
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
return {{slot}};
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
return {{slot}};
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
return {{slot}};
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
[{{title}}]({{link}})
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
### {{filename}}
|
||||
|
||||
##### Missing: {{count}}
|
||||
|
||||
{{content}}
|
||||
|
||||
[ [go back](../status.md) | [to top](#) ]
|
||||
@@ -0,0 +1 @@
|
||||
align="{{align}}"
|
||||
@@ -0,0 +1 @@
|
||||
width="{{width}}%"
|
||||
@@ -0,0 +1,3 @@
|
||||
<td {{align}} {{width}}>
|
||||
{{column}}
|
||||
</td>
|
||||
@@ -0,0 +1,3 @@
|
||||
<table {{width}}>
|
||||
{{content}}
|
||||
</table>
|
||||
@@ -0,0 +1 @@
|
||||
<tr>{{row}}</tr>
|
||||
@@ -0,0 +1 @@
|
||||
All lines are translated 😊
|
||||
@@ -0,0 +1,7 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Completion Status](../status.md) / {{locale}}
|
||||
|
||||
# {{locale}}
|
||||
|
||||
##### All missed: {{count}}
|
||||
|
||||
{{content}}
|
||||
@@ -0,0 +1,7 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Referents by language
|
||||
|
||||
# Referents by language
|
||||
|
||||
{{content}}
|
||||
|
||||
[ [to top](#) ]
|
||||
@@ -0,0 +1,7 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Completion Status
|
||||
|
||||
# Completion status
|
||||
|
||||
> Translation of localizations is completed by **{{count_diff_percents}}%** ({{count_diff}} / {{count_all}}).
|
||||
|
||||
{{content}}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Statuses\Locales;
|
||||
use LaravelLang\Lang\Processors\Statuses\Main;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Main::make());
|
||||
$app->processor(Locales::make());
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Concerns;
|
||||
|
||||
trait Messages
|
||||
{
|
||||
protected function messageAssertSee(string $path, string $content): string
|
||||
{
|
||||
return sprintf('String "%s" was not found in file %s', $content, realpath($path));
|
||||
}
|
||||
|
||||
protected function messageAssertDoesntSee(string $path, string $content): string
|
||||
{
|
||||
return sprintf('String "%s" was found in file %s', $content, realpath($path));
|
||||
}
|
||||
|
||||
protected function messageForPath(string $path): string
|
||||
{
|
||||
return sprintf('Problem found in file: %s', realpath($path));
|
||||
}
|
||||
|
||||
protected function messageForLocale(string $path, string $locale): string
|
||||
{
|
||||
return sprintf('Found a problem with localization of "%s" in file %s', realpath($path), $locale);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Helldar\PrettyArray\Services\File as Pretty;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
|
||||
final class JsonTest extends TestCase
|
||||
{
|
||||
public function testJson(): void
|
||||
{
|
||||
$source = $this->source('en.json');
|
||||
|
||||
foreach ($this->files() as $locale) {
|
||||
$path = $this->target_path . '/' . $locale . '/' . $locale . '.json';
|
||||
|
||||
$target = $this->load($path);
|
||||
|
||||
$this->assertSame(array_keys($source), array_keys($target), $this->messageForPath($path));
|
||||
}
|
||||
}
|
||||
|
||||
protected function files(): array
|
||||
{
|
||||
return Directory::names($this->target_path);
|
||||
}
|
||||
|
||||
protected function load(string $path): array
|
||||
{
|
||||
$content = Pretty::make()->loadRaw($path);
|
||||
|
||||
return json_decode($content, true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Helldar\PrettyArray\Services\File as Pretty;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
final class PhpTest extends TestCase
|
||||
{
|
||||
public function testPhp(): void
|
||||
{
|
||||
foreach ($this->files() as $filename) {
|
||||
$source = $this->source($filename);
|
||||
|
||||
foreach ($this->locales() as $locale) {
|
||||
$path = $this->target_path . '/' . $locale . '/' . $filename;
|
||||
|
||||
$target = $this->load($path);
|
||||
|
||||
$this->assertSame(array_keys($source), array_keys($target), $this->messageForLocale($path, $locale));
|
||||
|
||||
if ($this->isInline($filename)) {
|
||||
$this->assertDoesntSee($path, [':attribute', ':Attribute']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function files(): array
|
||||
{
|
||||
return File::names($this->source_path, static fn ($filename) => str_ends_with($filename, '.php'));
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->target_path);
|
||||
}
|
||||
|
||||
protected function load(string $path): array
|
||||
{
|
||||
return Pretty::make()->load($path);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
|
||||
class StatusLocalesTest extends TestCase
|
||||
{
|
||||
protected string $source_path = __DIR__ . '/../../locales';
|
||||
|
||||
protected string $target_path = __DIR__ . '/../../docs/statuses';
|
||||
|
||||
public function testSee(): void
|
||||
{
|
||||
foreach ($this->locales() as $locale) {
|
||||
$path = $this->path($locale);
|
||||
|
||||
$this->assertFileExists($path);
|
||||
|
||||
$this->assertSee($path, '# ' . Str::before($locale, '.'));
|
||||
$this->assertSee($path, '##### All missed:');
|
||||
|
||||
$this->assertDoesntSee($path, '## foo');
|
||||
$this->assertDoesntSee($path, '## bar');
|
||||
$this->assertDoesntSee($path, '## baz');
|
||||
}
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->source_path);
|
||||
}
|
||||
|
||||
protected function path(string $filename): string
|
||||
{
|
||||
$filename = Str::slug($filename);
|
||||
|
||||
return $this->target_path . '/' . $filename . '.md';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Helldar\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use Helldar\Support\Facades\Helpers\Str;
|
||||
|
||||
final class StatusTest extends TestCase
|
||||
{
|
||||
protected string $target_path = __DIR__ . '/../../locales';
|
||||
|
||||
protected string $status = __DIR__ . '/../../docs/status.md';
|
||||
|
||||
public function testSee(): void
|
||||
{
|
||||
foreach ($this->locales() as $locale) {
|
||||
$slug = Str::slug($locale);
|
||||
|
||||
$this->assertSee($this->status, "{$locale} ");
|
||||
$this->assertSee($this->status, "(statuses/{$slug}.md)");
|
||||
}
|
||||
}
|
||||
|
||||
public function testDoesntSee(): void
|
||||
{
|
||||
$this->assertDoesntSee($this->status, '## foo');
|
||||
$this->assertDoesntSee($this->status, '## bar');
|
||||
$this->assertDoesntSee($this->status, '## baz');
|
||||
|
||||
$this->assertDoesntSee($this->status, '(statuses/foo.md)');
|
||||
$this->assertDoesntSee($this->status, '(statuses/bar.md)');
|
||||
$this->assertDoesntSee($this->status, '(statuses/baz.md)');
|
||||
|
||||
$this->assertDoesntSee($this->status, '(todo/foo.md)');
|
||||
$this->assertDoesntSee($this->status, '(todo/bar.md)');
|
||||
$this->assertDoesntSee($this->status, '(todo/baz.md)');
|
||||
}
|
||||
|
||||
protected function locales(): array
|
||||
{
|
||||
return Directory::names($this->target_path);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Helldar\PrettyArray\Services\File;
|
||||
use Helldar\Support\Facades\Helpers\Arr;
|
||||
use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||
use Tests\Concerns\Messages;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
use Messages;
|
||||
|
||||
protected string $source_path = __DIR__ . '/../../source';
|
||||
|
||||
protected string $target_path = __DIR__ . '/../../locales';
|
||||
|
||||
protected function source(string $filename): array
|
||||
{
|
||||
$content = $this->load($this->source_path . '/' . $filename);
|
||||
|
||||
if ($this->isValidation($filename)) {
|
||||
$custom = Arr::get($content, 'custom', []);
|
||||
$attributes = Arr::get($content, 'attributes', []);
|
||||
|
||||
$content = Arr::except($content, ['custom', 'attributes']);
|
||||
|
||||
$content = Arr::ksort($content);
|
||||
|
||||
return array_merge($content, compact('custom', 'attributes'));
|
||||
}
|
||||
|
||||
return Arr::ksort($content);
|
||||
}
|
||||
|
||||
protected function assertSee(string $path, string $content): void
|
||||
{
|
||||
$file = File::make()->loadRaw($path);
|
||||
|
||||
$this->assertTrue(
|
||||
str_contains($file, $content),
|
||||
$this->messageAssertSee($path, $content)
|
||||
);
|
||||
}
|
||||
|
||||
protected function assertDoesntSee(string $path, string|array $content): void
|
||||
{
|
||||
$file = File::make()->loadRaw($path);
|
||||
|
||||
$values = Arr::wrap($content);
|
||||
|
||||
foreach ($values as $value) {
|
||||
$this->assertFalse(
|
||||
str_contains($file, $value),
|
||||
$this->messageAssertDoesntSee($path, $value)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
protected function sort(array &$array): void
|
||||
{
|
||||
$array = Arr::ksort($array);
|
||||
}
|
||||
|
||||
protected function isValidation(string $filename): bool
|
||||
{
|
||||
return str_starts_with($filename, 'validation');
|
||||
}
|
||||
|
||||
protected function isInline(string $filename): bool
|
||||
{
|
||||
return str_contains($filename, 'inline');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Statuses\Translator;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Translator::make());
|
||||
+30
-2
@@ -6,9 +6,13 @@
|
||||
"authors": [
|
||||
{
|
||||
"name": "Laravel-Lang Team",
|
||||
"url": "https://github.com/Laravel-Lang"
|
||||
"homepage": "https://github.com/Laravel-Lang"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Laravel-Lang/lang/issues",
|
||||
"source": "https://github.com/Laravel-Lang/lang"
|
||||
},
|
||||
"suggest": {
|
||||
"overtrue/laravel-lang": "Command to add languages in your project",
|
||||
"arcanedev/laravel-lang": "Translations manager and checker for Laravel 5",
|
||||
@@ -16,5 +20,29 @@
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*"
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"php": "^8.0",
|
||||
"andrey-helldar/pretty-array": "^2.3",
|
||||
"andrey-helldar/support": "^3.6",
|
||||
"guzzlehttp/guzzle": "^7.3",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"symfony/var-dumper": "^5.2",
|
||||
"vlucas/phpdotenv": "^5.3"
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"LaravelLang\\Lang\\": "app/main",
|
||||
"Tests\\": "app/tests"
|
||||
},
|
||||
"files": [
|
||||
"app/main/helpers.php"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"sort-packages": true
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
"prefer-stable": true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Page Not Found
|
||||
|
||||
<h2 align="center">
|
||||
Page Not Found
|
||||
</h2>
|
||||
|
||||
<p align="center">
|
||||
Go back to the <a href="/Laravel-lang/">main page</a>.
|
||||
</p>
|
||||
@@ -0,0 +1,4 @@
|
||||
name: Laravel Lang
|
||||
title: Laravel Lang
|
||||
theme: jekyll-theme-cayman
|
||||
markdown: gfm
|
||||
@@ -0,0 +1,429 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Changelog
|
||||
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file, since v7.0.0.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
|
||||
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [9.1.0] - 2021-04-24
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [az] #1627 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [be] #1628 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [bg] #1669 #1712 validation.php validation-inline.php json file
|
||||
* feature: [bn] #1670 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [bs] #1671 validation.php validation-inline.php json file
|
||||
* feature: [ca] #1672 validation.php validation-inline.php json file
|
||||
* feature: [cs] #1673 validation.php validation-inline.php json file
|
||||
* feature: [cy] #1674 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [da] #1675 validation.php validation-inline.php json file
|
||||
* feature: [de] #1708 #1710 validation.php validation-inline.php
|
||||
* feature: [de_CH] #1709 validation.php validation-inline.php
|
||||
* feature: [et] #1679 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [eu] #1680 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [fi] #1682 validation.php validation-inline.php json file
|
||||
* feature: [fr] #1711 json file
|
||||
* feature: [gl] #1683 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [he] #1684 validation.php validation-inline.php json file
|
||||
* feature: [hi] #1685 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [hu] #1687 validation.php validation-inline.php json file
|
||||
* feature: [is] #1690 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [ja] #1631 validation.php validation-inline.php json file
|
||||
* feature: [ka] #1632 validation.php validation-inline.php json file
|
||||
* feature: [kk] #1633 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [kn] #1635 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [lv] #1638 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [mn] #1640 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [mr] #1641 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [ms] #1642 validation.php validation-inline.php json file
|
||||
* feature: [nl] #1644 json file exclude
|
||||
* feature: [sk] #1650 validation.php validation-inline.php json file
|
||||
* feature: [sl] #1651 validation.php validation-inline.php json file
|
||||
* feature: [sq] #1652 validation.php validation-inline.php json file
|
||||
* feature: [sr_Cyrl] #1654 validation.php validation-inline.php json file
|
||||
* feature: [sr_Latn] #1653 validation.php validation-inline.php json file
|
||||
* feature: [sr_Latn_ME] #1655 validation.php validation-inline.php json file
|
||||
* feature: [sw] #1657 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [tg] #1658 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [th] #1659 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [tl] #1660 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [uk] #1662 validation.php validation-inline.php json file
|
||||
* feature: [ur] #1663 passwords.php validation.php validation-inline.php json file
|
||||
* feature: [uz_Cyrl] #1664 validation.php validation-inline.php json file
|
||||
* feature: [uz_Latn] #1665 validation.php validation-inline.php json file
|
||||
|
||||
### Todo script
|
||||
|
||||
* feature: #1713 Added the ability to flag machine translation
|
||||
|
||||
## [9.0.1] - 2021-04-21
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [af] #1626 validation.php validation-inline.php json file
|
||||
* feature: [az] #1694 validation.php
|
||||
* feature: [de] #1622 #1623 validation.php validation-inline.php json file
|
||||
* feature: [de] #1696 #1700 #1705 validation.php validation-inline.php json file
|
||||
* feature: [de_CH] #1695 #1703 #1704 validation.php validation-inline.php json file
|
||||
* feature: [el] #1678 validation.php validation-inline.php json file
|
||||
* feature: [fa] #1693 json file
|
||||
* feature: [hr] #1686 validation.php validation-inline.php json file
|
||||
* feature: [hy] #1688 #1699 json file
|
||||
* feature: [id] #1616 #1621 #1689 validation.php validation-inline.php json file
|
||||
* feature: [km] #1634 #1698 validation.php validation-inline.php json file
|
||||
* feature: [ko] #1608 #1636 validation.php validation-inline.php json file
|
||||
* feature: [lt] #1637 validation.php validation-inline.php json file
|
||||
* feature: [mk] #1639 validation.php validation-inline.php json file
|
||||
* feature: [ne] #1643 validation.php validation-inline.php json file
|
||||
* feature: [pl] #1645 validation.php validation-inline.php json file
|
||||
* feature: [pt] #1646 validation.php validation-inline.php json file
|
||||
* feature: [pt_BR] #1647 validation.php validation-inline.php json file
|
||||
* feature: [ro] #1648 validation.php validation-inline.php json file
|
||||
* feature: [si] #1649 validation.php validation-inline.php json file
|
||||
* feature: [sv] #1656 validation.php validation-inline.php json file
|
||||
* feature: [tr] #1697 validation.php validation-inline.php json file
|
||||
* feature: [vi] #1617 #1624 validation.php validation-inline.php json file
|
||||
* feature: [zh_CN] #1666 validation.php validation-inline.php json file
|
||||
* feature: [zh_HK] #1667 validation.php validation-inline.php json file
|
||||
* feature: [zh_TW] #1668 validation.php validation-inline.php json file
|
||||
|
||||
### Documentation
|
||||
|
||||
* feature: #1618 readme
|
||||
|
||||
### Todo script
|
||||
|
||||
* feature: #1619 Added check for ":Attribute" when running tests
|
||||
* feature: #1620 Adding a percentage of translations
|
||||
* feature: #1625 Added processors for translating localizations
|
||||
* feature: #1629 Removed duplicate call line
|
||||
* feature: #1691 Added a script for creating commits separated by localizations
|
||||
|
||||
## [9.0.0] - 2021-04-14
|
||||
|
||||
New structure of files:
|
||||
|
||||
* `source/` - stores php and json source files
|
||||
* `locales/{locale}` - stores php and json files with translations.
|
||||
|
||||
For more information, see #1606 and #1607.
|
||||
|
||||
## [8.1.3] - 2021-04-14
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [hu] #1609 auth.php
|
||||
* feature: [nl] #1603 #1610 validation.php validation-inline.php json file
|
||||
|
||||
### Documentation
|
||||
|
||||
* feature: #1599 contributing to dev
|
||||
* feature: #1601 referents
|
||||
* feature: #1614 readme
|
||||
|
||||
### Todo script
|
||||
|
||||
* feature: #1600 Added validation for the `:attribute` string in the `validation-inline.php` files
|
||||
* feature: #1602 Added auto-update `docs/referents.md` file
|
||||
* feature: #1604 Added check of exclusion files for keys relevance
|
||||
|
||||
## [8.1.2] - 2021-04-07
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [it] #1596 #1597 validation.php validation-inline.php json file
|
||||
* feature: [fr]
|
||||
|
||||
## [8.1.1] - 2021-04-02
|
||||
|
||||
## Added
|
||||
|
||||
* #1565 Add prohibited validation rule
|
||||
* #1510 [af] Added Afrikaans language support
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1584 validation.php validation-inline.php json file
|
||||
* feature: [es] #1566 #1579 #1585 validation.php validation-inline.php json file
|
||||
* feature: [fr] #1580 json file
|
||||
* feature: [hy] #1572 #1573 #1574 auth.php validation.php
|
||||
* feature: [it] #1568 json file
|
||||
* feature: [nl] #1587 json file
|
||||
* feature: [pt] #1575 auth.php
|
||||
* feature: [pt_BR] #1564 #1575 auth.php json file
|
||||
* feature: [ru] #1576 #1582 validation.php validation-inline.php json file
|
||||
* feature: [tr] #1565 validation.php validation-inline.php
|
||||
|
||||
### Todo script
|
||||
|
||||
* New version with automatic add needed tags
|
||||
* One page by language
|
||||
|
||||
## [8.1.0] - 2021-01-23
|
||||
|
||||
### Added
|
||||
|
||||
* Laravel Cashier
|
||||
* Laravel Nova
|
||||
* Script to update translation files
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1538 #1553 json file
|
||||
* feature: [de] #1532 json file
|
||||
* feature: [es] #1534 #1545 #1550 #1556 json file
|
||||
* feature: [fa] #1527 #1531 validation.php json file
|
||||
* feature: [fr] #1528 #1539 json file
|
||||
* feature: [it] #1535 #1548 #1552 json file
|
||||
* feature: [ja] #1558 json file
|
||||
* feature: [ko] #1524 json file
|
||||
* feature: [mk] #1536 #1549 json file
|
||||
* feature: [nl] #1529 json file
|
||||
* feature: [pl] #1530 auth, json file
|
||||
* feature: [ru] #1537 #1546 #1551 #1554 json file
|
||||
* feature: [sk] json file
|
||||
* feature: [vi] #1530 #1543 #1557 validation.php validation-inline.php json file
|
||||
* feature: [zh_*] #1544 #1559 json file
|
||||
|
||||
## [8.0.3] - 2021-01-29
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [fr] json file
|
||||
* feature: [zh_CN] #1523 auth.php validation.php validation-inline.php exclude.php json file
|
||||
* feature: [zh_HK] #1523 auth.php validation.php validation-inline.php exclude.php json file
|
||||
* feature: [zh_TW] #1523 auth.php validation.php validation-inline.php exclude.php json file
|
||||
|
||||
## [8.0.2] - 2021-01-25
|
||||
|
||||
### Added
|
||||
|
||||
* feature: #1481 Added new Jetstream 2.0 translation keys
|
||||
* feature: #1485 Add missing tags and translate new tags for Jetstream 2.0
|
||||
* feature: #1488 Add missing tags related to button's labels for mail - team
|
||||
* feature: #1494 Translate subject of Team Invitation email
|
||||
* feature: #1506 Translate cancel button of team invitation
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1483 #1486 #1489 #1504 #1508 json file
|
||||
* feature: [bs] #1500 #1505 auth.php passwords.php validation.php
|
||||
* feature: [de] #1493 #1507 auth.php validation.php json file
|
||||
* feature: [el] #1509 json file
|
||||
* feature: [es] #1485 #1487 #1488 #1494 #1506 #1518 validation.php json file
|
||||
* feature: [fr] #1501 json file
|
||||
* feature: [it] #1491 #1502 #1511 json file
|
||||
* feature: [ka] #1497 #1498 #1499 #1503 auth.php passwords.php validation.php
|
||||
* feature: [lt] #1521 json file
|
||||
* feature: [mk] #1521 #1522 auth.php passwords.php validation.php validation-inline.php json file
|
||||
* feature: [nl] #1482 auth.php
|
||||
* feature: [ro] #1517 auth.php
|
||||
* feature: [ru] #1481 #1490 #1515 #1516 validation.php json file
|
||||
* feature: [sl] #1480 excluse file and json file
|
||||
* feature: [sr_Cyrl] #1521 validation-inline.php
|
||||
* feature: [sr_Latn] #1521 validation-inline.php
|
||||
* feature: [sv] #1492 json file
|
||||
* feature: [uk] #1484 auth.php validation.php validation-inline.php json file
|
||||
|
||||
## [8.0.1] - 2021-01-03
|
||||
|
||||
### Added
|
||||
|
||||
* new: [oc] #1466
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1476 json file
|
||||
* feature: [de] #1471 #1472 json file
|
||||
* feature: [fa] #1467 #1468 #1470 #1477 auth.php validation.php validation-inline.php json file
|
||||
* feature: [fr] #1469 auth.php
|
||||
* feature: [ja] #1461 exclude file and json file
|
||||
* feature: [ru] #1465 #1475 json file
|
||||
* feature: [sl] #1479 auth.php passwords.php validation.php validation-inline.php
|
||||
* feature: [sr_Latn_ME] #1463 auth.php pagination.php passwords.php validation.php
|
||||
|
||||
## [8.0.0] - 2020-11-30
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [sr, uz, me] #1453 Rename \*\_Cyrillic to \*\_Cyrl and \*\_Latin to \*\_Latn (php Intl)]
|
||||
|
||||
## [7.0.9] - 2020-11-30
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1419 #1431 #1447 #1462 validation-inline.php validation.php auth.php json file
|
||||
* feature: [es] #1414 #1416 #1417 #1422 #1442 #1450 #1452 validation.php validation-inline.php passwords.php json file
|
||||
* feature: [fr] #1441 json file
|
||||
* feature: [id] #1439 auth.php
|
||||
* feature: [it] #1435 #1459 validation-inline.php validation.php auth.php json file
|
||||
* feature: [km] #1418 auth.php validation.php passwords.php
|
||||
* feature: [ko] #1444 validation-inline.php validation.php auth.php json file
|
||||
* feature: [lt] #1434 #1436 #1449 validation-inline.php validation.php auth.php json file
|
||||
* feature: [nl] #1424 #1425 #1428 #1457 auth.php validation.php validation-inline.php json file
|
||||
* feature: [pl] #1420 validation-inline.php validation.php
|
||||
* feature: [de_CH] #1458 validation-inline.php validation.php
|
||||
* feature: [pt_Br] #1415 json file
|
||||
* feature: [ru] #1426 #1427 #1445 #1454 validation-inline.php validation.php auth.php json file
|
||||
* feature: [sv] #1430 json file
|
||||
* feature: [tr] #1448 #1456 json file
|
||||
* feature: [uk] #1446 json file
|
||||
* feature: [fa] #1451 json file
|
||||
* feature: [vi] #1433 #1443 validation-inline.php validation.php passwords.php auth.php json file
|
||||
|
||||
## [7.0.8] - 2020-10-11
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1390 #1398 json file
|
||||
* feature: [de] #1412 json file
|
||||
* feature: [el] #1385 json file
|
||||
* feature: [en] #1393 #1394 add tags
|
||||
* feature: [es] #1394 json file
|
||||
* feature: [fr] #1383 #1411 json file
|
||||
* feature: [it] #1402 #1413 validation-inline.php auth.php passwords.php json file
|
||||
* feature: [lt] #1400 json file
|
||||
* feature: [ms] #1387 #1388 #1392 validation.php validation-inline.php passwords.php
|
||||
* feature: [pl] #1395 json file
|
||||
* feature: [pt] #1404 json file
|
||||
* feature: [ru] #1393 #1397 json file
|
||||
|
||||
### Documentation
|
||||
|
||||
* feature: #1386 Contributing
|
||||
|
||||
### Status script
|
||||
|
||||
* fix: #1406 ignores the additional informations
|
||||
|
||||
### Workflow
|
||||
|
||||
* feature: #1401 #1403 Make todo
|
||||
* feature: #1405 template bug report
|
||||
|
||||
## [7.0.7] - 2020-10-02
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [hr] #1379 passwords.php
|
||||
* feature: [id] #1381 json file
|
||||
* feature: [ms] #1380 validation.php
|
||||
* feature: [pt_BR] #1375 json file
|
||||
* feature: [tr] #1382 json file
|
||||
|
||||
### Todo script
|
||||
|
||||
* feature: #1378 exclude translation
|
||||
|
||||
## [7.0.6] - 2020-09-30
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [ar] #1339 #1369 json file
|
||||
* feature: [de] #1370 json file
|
||||
* feature: [en] #1361 #1368 json file
|
||||
* feature: [es] #1361 #1371 json file
|
||||
* feature: [fr] json file
|
||||
* feature: [pl] #1360 #1367 #1373 json file
|
||||
* feature: [pt] #1358 #1374 json file
|
||||
* feature: [ru] #1356 #1362 #1368 json file
|
||||
* feature: [sr_*] #1363 json file
|
||||
* feature: [uz_*] #1352 validation auth password
|
||||
|
||||
## [7.0.5] - 2020-09-23
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1333 Laravel 8 support
|
||||
* feature: #1335 #1354 Add support for Laravel JetStream
|
||||
* feature: [en] #1341 #1346 json files
|
||||
* feature: [es] #1341 json files
|
||||
* feature: [hu] #1332 validation.php
|
||||
* feature: [it] #1345 json files
|
||||
* feature: [nl] #1330 #1331 json file validation-inline.php
|
||||
* feature: [pl] #1351 json files
|
||||
* feature: [pt] #1342 json files
|
||||
* feature: [ru] #1346 json files
|
||||
* feature: [tr] #1327 #1328 validation.php
|
||||
|
||||
## [7.0.4] - 2020-09-11
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [es] #1317 json file
|
||||
* feature: [fa] #1318 validation.password
|
||||
* feature: [id] #1323 #1324 json and validation-inline
|
||||
* feature: [ko] #1326 validation-inline
|
||||
* feature: [lt] #1320 validation-inline and validation
|
||||
* feature: [sr_*] #1316 validation-inline file
|
||||
* feature: new organization
|
||||
|
||||
## [7.0.3] - 2020-08-23
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: [da] #1310 passwords.throttlled
|
||||
* feature: [es] #1312 validation and validation-inline
|
||||
* feature: [ne] #1302 #1306 #1307 Translated to Nepali Language (Validation-inline and json)
|
||||
* feature: [sq] #1313 validation-inline and validation translations
|
||||
|
||||
## [7.0.2] - 2020-08-05
|
||||
|
||||
### Added
|
||||
|
||||
* Changelog file
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1294 Update readme
|
||||
* feature: [da] #1293 Add json
|
||||
* feature: [es] #1292 Update json
|
||||
* feature: [pl] #1290 Translate validation-inline; tweak some validation translations
|
||||
* feature: [pt] #1295 Update json, validation-inline, validation and passwords
|
||||
* feature: [pt_BR] #1291 Update validation-inline
|
||||
* feature: [si] #1298 Update passwords
|
||||
* feature: [sq] #1297 Update auth, passwords and validation
|
||||
* feature: [uk] #1300 #1301 validation-inline json file
|
||||
* feature: [zh_*] #1299 Update json and validation-inline
|
||||
|
||||
## [7.0.1] - 2020-07-14
|
||||
|
||||
### Added
|
||||
|
||||
* json files for uz_Cyrillic and uz_Latin
|
||||
|
||||
### Changed
|
||||
|
||||
* fix: #1269 json file names to follow ISO-15897
|
||||
|
||||
## [7.0.0] - 2020-07-13
|
||||
|
||||
### Changed
|
||||
|
||||
* feature: #1269 Rename locale folders following ISO 15897 format
|
||||
|
||||
[Unreleased]: https://github.com/caouecs/Laravel-lang/compare/9.1.0...master
|
||||
[9.1.0]: https://github.com/caouecs/Laravel-lang/compare/9.0.1...9.1.0
|
||||
[9.0.1]: https://github.com/caouecs/Laravel-lang/compare/9.0.0...9.0.1
|
||||
[9.0.0]: https://github.com/caouecs/Laravel-lang/compare/8.1.3...9.0.0
|
||||
[8.1.3]: https://github.com/caouecs/Laravel-lang/compare/8.1.2...8.1.3
|
||||
[8.1.2]: https://github.com/caouecs/Laravel-lang/compare/8.1.1...8.1.2
|
||||
[8.1.1]: https://github.com/caouecs/Laravel-lang/compare/8.1.0...8.1.1
|
||||
[8.1.0]: https://github.com/caouecs/Laravel-lang/compare/8.0.3...8.1.0
|
||||
[8.0.3]: https://github.com/caouecs/Laravel-lang/compare/8.0.2...8.0.3
|
||||
[8.0.2]: https://github.com/caouecs/Laravel-lang/compare/8.0.1...8.0.2
|
||||
[8.0.1]: https://github.com/caouecs/Laravel-lang/compare/8.0.0...8.0.1
|
||||
[8.0.0]: https://github.com/caouecs/Laravel-lang/compare/7.0.9...8.0.0
|
||||
[7.0.9]: https://github.com/caouecs/Laravel-lang/compare/7.0.8...7.0.9
|
||||
[7.0.8]: https://github.com/caouecs/Laravel-lang/compare/7.0.7...7.0.8
|
||||
[7.0.7]: https://github.com/caouecs/Laravel-lang/compare/7.0.6...7.0.7
|
||||
[7.0.6]: https://github.com/caouecs/Laravel-lang/compare/7.0.5...7.0.6
|
||||
[7.0.5]: https://github.com/caouecs/Laravel-lang/compare/7.0.4...7.0.5
|
||||
[7.0.4]: https://github.com/caouecs/Laravel-lang/compare/7.0.3...7.0.4
|
||||
[7.0.3]: https://github.com/caouecs/Laravel-lang/compare/7.0.2...7.0.3
|
||||
[7.0.2]: https://github.com/caouecs/Laravel-lang/compare/7.0.1...7.0.2
|
||||
[7.0.1]: https://github.com/caouecs/Laravel-lang/compare/7.0.0...7.0.1
|
||||
[7.0.0]: https://github.com/caouecs/Laravel-lang/compare/6.1.4...7.0.0
|
||||
@@ -1,3 +1,5 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Contributor Covenant Code of Conduct
|
||||
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
@@ -0,0 +1,68 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Contributing
|
||||
|
||||
# Contributing
|
||||
|
||||
Contributions are **welcome** and will be fully **credited**.
|
||||
|
||||
We accept contributions via Pull Requests on [Github](https://github.com/Laravel-Lang/lang).
|
||||
|
||||
## How can I add a language in this project ?
|
||||
|
||||
* fork this repository
|
||||
* create a directory in `locales` with the short name of the language (ex: `fr` for French) from ISO-639-1 (
|
||||
see [Wikipedia](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) )
|
||||
* copy these five files of the English version with your translation : from `source` directory
|
||||
* `en.json`
|
||||
* `auth.php`
|
||||
* `pagination.php`
|
||||
* `passwords.php`
|
||||
* `validation.php`
|
||||
* `validation-inline.php`
|
||||
* Rename json file according to localization (ex: `fr` for `locales/fr/fr.json`, `de` for `locales/de/de.json`, etc)
|
||||
* keep in mind that the `validation-inline.php` file does not come with Laravel and the idea of this file is not to put a specific name to each attribute (as
|
||||
in `validation.php`) but a generic name for the validation attributes. Therefore in the translations of this file the placeholder `:attribute` **should not**
|
||||
appear.
|
||||
* add a pull request with the name of the language
|
||||
* ex: [fr] New language
|
||||
|
||||
## How can I fix a file ?
|
||||
|
||||
* fork this repository
|
||||
* update the file
|
||||
* add a pull request with the name of the language
|
||||
* ex: [fr] Update validation for number in validation
|
||||
|
||||
## What should I do if there is a tag whose translation is the same as in English?
|
||||
|
||||
In some languages there are some strings whose translation is the same as in English. In this case, the script that generates the [status](status.md) adds them
|
||||
by default to the list of pending translations. This affects the *completion status* for this language which would never be marked in *status list* with (
|
||||
✔) but with (❗) even if all other strings were translated.
|
||||
|
||||
We can avoid this situation in the following way:
|
||||
|
||||
* fork this repository if you haven't already
|
||||
* add a PHP file named with the short name of the language (ex: `es.php` for Spanish) inside the directory `excludes`
|
||||
* this php file must return an array of strings with each of the tags that we must exclude.
|
||||
* for example suppose that the strings `'Email'` and `'API Token'` in `es.json` (ex: for Spanish) do not need translation in this language and therefore
|
||||
want to exclude them. The PHP file `es.php` (for example) in `excludes` should have this structure which you can copy for other languages.
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Exclusion list
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is a list of exclusions for words or phrases where the original
|
||||
| form of the word has the same spelling in a given language.
|
||||
|
|
||||
*/
|
||||
|
||||
return [
|
||||
'API Token',
|
||||
'Email',
|
||||
];
|
||||
```
|
||||
|
||||
* add these changes to the pull request you will send
|
||||
@@ -0,0 +1,43 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / Main Page
|
||||
|
||||
# Laravel Lang
|
||||
|
||||
In this repository, you can find the lang files for the [Laravel Framework 4/5/6/7/8](https://laravel.com), [Laravel Jetstream](https://jetstream.laravel.com)
|
||||
, [Laravel Fortify](https://github.com/laravel/fortify), [Laravel Cashier](https://laravel.com/docs/8.x/billing) and [Laravel Nova](https://nova.laravel.com).
|
||||
|
||||
## Translation status
|
||||
|
||||
The current status of the translated keys is available at [STATUS](status.md) page.
|
||||
|
||||
## Changelog
|
||||
|
||||
* See [changelog](changelog.md)
|
||||
|
||||
## Installation
|
||||
|
||||
* [Via Composer](installation/composer.md)
|
||||
* [Via GitHub](installation/github.md)
|
||||
* [Via SVN](installation/github.md)
|
||||
* [Copy files](installation/files.md)
|
||||
|
||||
## Usage
|
||||
|
||||
> Laravel only
|
||||
|
||||
In the file *config/app.php*, change the value of *locale* by the short name of your language (*app/config/app.php* in Laravel 4).
|
||||
|
||||
## Contributing
|
||||
|
||||
Please see [contributing](contributing-to-dev.md) page for details.
|
||||
|
||||
## Translation managers
|
||||
|
||||
* [LaravelLang](https://github.com/ARCANEDEV/LaravelLang) by [*@arcanedev-maroc*](https://github.com/ARCANEDEV) - Translations manager and checker for Laravel.
|
||||
* [Laravel-lang](https://github.com/overtrue/laravel-lang) by [*@overtrue*](https://github.com/overtrue) - Command to add languages in your project.
|
||||
* [Lang Publisher](https://github.com/andrey-helldar/laravel-lang-publisher) by [*@andrey-helldar*](https://github.com/andrey-helldar) - Easy installation and
|
||||
update of translation files for your project.
|
||||
|
||||
## Credits
|
||||
|
||||
- [Referents by language](referents.md)
|
||||
- [All Contributors](https://github.com/Laravel-Lang/lang/graphs/contributors)
|
||||
@@ -0,0 +1,17 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Installation](../index.md#installation) / Via Composer
|
||||
|
||||
# Via Composer
|
||||
|
||||
Install the Laravel-lang package to your Laravel project with composer using command from the table below based on the version of Laravel you are using:
|
||||
|
||||
| Laravel version | Composer command |
|
||||
|-------------------------------------|---------------------------------------------------|
|
||||
| Laravel 7-8 with Php Intl | `composer require laravel-lang/lang:~8.0` |
|
||||
| Laravel 8.x | `composer require laravel-lang/lang:~7.0` |
|
||||
| Laravel 7.x and new directory names | `composer require laravel-lang/lang:~7.0` |
|
||||
| Laravel 7.x | `composer require laravel-lang/lang:~6.1` |
|
||||
| Laravel 6.x | `composer require laravel-lang/lang:~5.0` |
|
||||
| Laravel 5.8 | `composer require laravel-lang/lang:~4.0` |
|
||||
| Laravel 5.1-5.7 | `composer require laravel-lang/lang:~3.0` |
|
||||
| Laravel 5 | `composer require laravel-lang/lang:~2.0` |
|
||||
| Laravel 4 | `composer require laravel-lang/lang:~1.0` |
|
||||
@@ -0,0 +1,9 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Installation](../index.md#installation) / Copy files
|
||||
|
||||
# Copy files
|
||||
|
||||
After adding the dependency using composer (as described above) to your application you can find the language files under the
|
||||
directory `vendor/laravel-lang/lang`.
|
||||
|
||||
Copy the folders (and JSON files) of languages that you want to use, into the directory `resources/lang` of your Laravel application (or `app/lang` in Laravel
|
||||
4).
|
||||
@@ -0,0 +1,8 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Installation](../index.md#installation) / Via GitHub
|
||||
|
||||
* Clone the [GitHub repository](https://github.com/Laravel-Lang/lang/) : *git clone https://github.com/Laravel-Lang/lang.git*
|
||||
* Or download the [zip file](https://github.com/Laravel-Lang/lang/archive/master.zip)
|
||||
* Choose the branch:
|
||||
* `laravel4` for Laravel 4 project
|
||||
* `master` for Laravel 5, 6, 7, 8 projects
|
||||
* Copy the folders of languages that you want, in `resources/lang` folder of your Laravel application (or `app/lang` in Laravel 4).
|
||||
@@ -0,0 +1,13 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Installation](../index.md#installation) / Via SVN
|
||||
|
||||
Run this in your project directory:
|
||||
|
||||
```sh
|
||||
# Laravel 5:
|
||||
svn export https://github.com/Laravel-Lang/lang/trunk/src/[language-code] resources/lang/[language-code]
|
||||
|
||||
# Laravel 4:
|
||||
svn export https://github.com/Laravel-Lang/lang/branches/laravel4/[language-code] app/lang/[language-code]
|
||||
```
|
||||
|
||||
Replace `[language-code]` by any of the languages listedw.
|
||||
@@ -0,0 +1,589 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Referents by language
|
||||
|
||||
# Referents by language
|
||||
|
||||
<table >
|
||||
<tr><td align="left" >
|
||||
af
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ar
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@mohamedsabil83](https://github.com/mohamedsabil83)
|
||||
,
|
||||
[@Khuthaily](https://github.com/Khuthaily)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
az
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
be
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
bg
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
bn
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
bs
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ca
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
cs
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
cy
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
da
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@jensstigaard](https://github.com/jensstigaard)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
de
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@WhereIsLucas](https://github.com/WhereIsLucas)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
de_CH
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
el
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
es
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@luisprmat](https://github.com/luisprmat)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
et
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
eu
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
fa
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
fi
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
fil
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
fr
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@caouecs](https://github.com/caouecs)
|
||||
,
|
||||
[@WhereIsLucas](https://github.com/WhereIsLucas)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
gl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
he
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
hi
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
hr
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
hu
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
hy
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
id
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
is
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
it
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@masterix21](https://github.com/masterix21)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ja
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ka
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
kk
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
km
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
kn
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ko
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
lt
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
lv
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
mk
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@keljtanoski](https://github.com/keljtanoski)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
mn
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
mr
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ms
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
nb
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ne
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
nl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@WhereIsLucas](https://github.com/WhereIsLucas)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
nn
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
oc
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
pl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ps
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
pt
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@jorgercosta](https://github.com/jorgercosta)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
pt_BR
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ro
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ru
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@andrey-helldar](https://github.com/andrey-helldar)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sc
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
si
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sk
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sq
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sr_Cyrl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@LukaLatkovic](https://github.com/LukaLatkovic)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sr_Latn
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@LukaLatkovic](https://github.com/LukaLatkovic)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sr_Latn_ME
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@LukaLatkovic](https://github.com/LukaLatkovic)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sv
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
sw
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
tg
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
th
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
tk
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
tl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
tr
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ug
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
uk
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@MrAlKuz](https://github.com/MrAlKuz)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
ur
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
uz_Cyrl
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
uz_Latn
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
vi
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@dinhquochan](https://github.com/dinhquochan)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
zh_CN
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@overtrue](https://github.com/overtrue)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
zh_HK
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@overtrue](https://github.com/overtrue)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
zh_TW
|
||||
</td>
|
||||
<td align="left" >
|
||||
|
||||
[@overtrue](https://github.com/overtrue)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
[ [to top](#) ]
|
||||
+414
@@ -0,0 +1,414 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](index.md) / Completion Status
|
||||
|
||||
# Completion status
|
||||
|
||||
> Translation of localizations is completed by **88%** (55K / 62.8K).
|
||||
|
||||
<table width="100%">
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[af ✔](statuses/af.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ar ✔](statuses/ar.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[az ❗ 🤖](statuses/az.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[be ✔ 🤖](statuses/be.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[bg ✔ 🤖](statuses/bg.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[bn ✔ 🤖](statuses/bn.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[bs ✔ 🤖](statuses/bs.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ca ❗ 🤖](statuses/ca.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[cs ❗ 🤖](statuses/cs.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[cy ✔ 🤖](statuses/cy.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[da ❗ 🤖](statuses/da.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[de ✔](statuses/de.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[de_CH ✔](statuses/de-ch.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[el ❗](statuses/el.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[es ✔](statuses/es.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[et ✔ 🤖](statuses/et.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[eu ✔ 🤖](statuses/eu.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[fa ❗](statuses/fa.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[fi ✔ 🤖](statuses/fi.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[fil ❗](statuses/fil.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[fr ✔](statuses/fr.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[gl ❗ 🤖](statuses/gl.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[he ✔ 🤖](statuses/he.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[hi ✔ 🤖](statuses/hi.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[hr ❗](statuses/hr.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[hu ❗](statuses/hu.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[hy ❗](statuses/hy.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[id ✔](statuses/id.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[is ✔ 🤖](statuses/is.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[it ✔](statuses/it.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ja ❗ 🤖](statuses/ja.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ka ❗ 🤖](statuses/ka.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[kk ❗ 🤖](statuses/kk.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[km ❗](statuses/km.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[kn ❗ 🤖](statuses/kn.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ko ✔](statuses/ko.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[lt ❗](statuses/lt.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[lv ✔ 🤖](statuses/lv.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[mk ❗](statuses/mk.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[mn ✔ 🤖](statuses/mn.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[mr ✔ 🤖](statuses/mr.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ms ❗ 🤖](statuses/ms.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[nb ❗](statuses/nb.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ne ❗](statuses/ne.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[nl ✔](statuses/nl.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[nn ❗](statuses/nn.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[oc ❗](statuses/oc.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[pl ❗](statuses/pl.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[ps ❗](statuses/ps.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[pt ❗](statuses/pt.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[pt_BR ❗](statuses/pt-br.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ro ❗](statuses/ro.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ru ✔](statuses/ru.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sc ❗](statuses/sc.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[si ✔](statuses/si.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sk ❗ 🤖](statuses/sk.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[sl ❗ 🤖](statuses/sl.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sq ❗ 🤖](statuses/sq.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sr_Cyrl ❗ 🤖](statuses/sr-cyrl.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sr_Latn ❗ 🤖](statuses/sr-latn.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sr_Latn_ME ❗ 🤖](statuses/sr-latn-me.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sv ❗](statuses/sv.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[sw ❗ 🤖](statuses/sw.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[tg ❗ 🤖](statuses/tg.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[th ❗ 🤖](statuses/th.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[tk ❗](statuses/tk.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[tl ❗ 🤖](statuses/tl.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[tr ✔](statuses/tr.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ug ❗](statuses/ug.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[uk ❗ 🤖](statuses/uk.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[ur ❗ 🤖](statuses/ur.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[uz_Cyrl ❗](statuses/uz-cyrl.md)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" width="13%">
|
||||
|
||||
[uz_Latn ❗](statuses/uz-latn.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[vi ✔](statuses/vi.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[zh_CN ✔](statuses/zh-cn.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[zh_HK ✔](statuses/zh-hk.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
[zh_TW ✔](statuses/zh-tw.md)
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
</td>
|
||||
<td align="center" width="13%">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Completion Status](../status.md) / af
|
||||
|
||||
# af
|
||||
|
||||
##### All missed: 0
|
||||
|
||||
All lines are translated 😊
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Completion Status](../status.md) / ar
|
||||
|
||||
# ar
|
||||
|
||||
##### All missed: 0
|
||||
|
||||
All lines are translated 😊
|
||||
|
||||
@@ -0,0 +1,238 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Completion Status](../status.md) / az
|
||||
|
||||
# az
|
||||
|
||||
##### All missed: 55
|
||||
|
||||
|
||||
### json
|
||||
|
||||
##### Missing: 55
|
||||
|
||||
<table >
|
||||
<tr><td align="left" >
|
||||
Andorra
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Angola
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Argentina
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Aruba
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Barbados
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Belarus
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Belize
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Benin
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Bermuda
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Burkina Faso
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Burundi
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Cape Verde
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Cook Islands
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Enable
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Fiji
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Gibraltar
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Greenland
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Guernsey
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Guyana
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Haiti
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Honduras
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Hong Kong
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Jamaica
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Jersey
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Kiribati
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Kosovo
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Lao People's Democratic Republic
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Lesotho
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Luxembourg
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Malta
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Mauritius
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
May
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Moldova
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Montserrat
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Nauru
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Nepal
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Niger
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Niue
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Oman
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Pakistan
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Palau
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Panama
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Permissions
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Peru
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Qatar
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Rwanda
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Samoa
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Sudan
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Suriname
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Tanzania
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Timor-Leste
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Tokelau
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Turkmenistan
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Tuvalu
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="left" >
|
||||
Vanuatu
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
[ [go back](../status.md) | [to top](#) ]
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Completion Status](../status.md) / be
|
||||
|
||||
# be
|
||||
|
||||
##### All missed: 0
|
||||
|
||||
All lines are translated 😊
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Laravel Lang](https://github.com/Laravel-Lang/lang) / [Main Page](../index.md) / [Completion Status](../status.md) / bg
|
||||
|
||||
# bg
|
||||
|
||||
##### All missed: 0
|
||||
|
||||
All lines are translated 😊
|
||||
|
||||
Loaded 100 of 1039 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user