Skip to content

Commit 359456b

Browse files
authored
Merge pull request #3 from AltSpaceCommunity/Locl
Локализация Part1
2 parents c3f0b1f + 05df77a commit 359456b

3,839 files changed

Lines changed: 83046 additions & 127 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Content.Client/Lobby/UI/LobbyGui.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
WindowType="{x:Type lobbyUi:ObserveWarningWindow}" />
3535

3636
<Button Name="ManifestButton" Access="Public"
37-
Text="Manifest"
37+
Text="{Loc 'ui-lobby-manifest-button'}"
3838
StyleClasses="ButtonBig" MinWidth="137" />
3939

4040
<Button Name="ReadyButton" Access="Public" ToggleMode="True"

Content.Shared/Localizations/ContentLocalizationManager.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ public sealed class ContentLocalizationManager
1010
[Dependency] private readonly ILocalizationManager _loc = default!;
1111

1212
// If you want to change your codebase's language, do it here.
13-
private const string Culture = "en-US";
13+
private const string Culture = "ru-RU"; // Localization
14+
private const string FallbackCulture = "en-US"; // Localization
1415

1516
/// <summary>
1617
/// Custom format strings used for parsing and displaying minutes:seconds timespans.
@@ -26,8 +27,11 @@ public sealed class ContentLocalizationManager
2627
public void Initialize()
2728
{
2829
var culture = new CultureInfo(Culture);
30+
var fallbackCulture = new CultureInfo(FallbackCulture); // Localization
2931

3032
_loc.LoadCulture(culture);
33+
_loc.LoadCulture(fallbackCulture); // Localization
34+
_loc.SetFallbackCluture(fallbackCulture); // Localization
3135
_loc.AddFunction(culture, "PRESSURE", FormatPressure);
3236
_loc.AddFunction(culture, "POWERWATTS", FormatPowerWatts);
3337
_loc.AddFunction(culture, "POWERJOULES", FormatPowerJoules);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
battery-electrocute-charge = Батарея вспыхивает от энергии!
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ipc-recharge-tip = Заряд пополнился... хоть и совсем чуть-чуть.
2+
dead-startup-button-verb = Запуск
3+
dead-startup-system-reboot-success = Системы { $target } успешно восстановлены.
4+
dead-startup-system-reboot-failed = Перезапуск невозможен — шасси { $target } критически повреждено.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
silicon-charger-overheatwarning = Вам кажется, будто вы попали в микроволновку!
2+
silicon-charger-chargerate-string = Скорость зарядки
3+
silicon-charger-efficiency-string = Эффективность
4+
silicon-charger-list-full = { CAPITALIZE(THE($charger)) } больше не в состоянии принять новых подопечных!
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
silicon-overheating = Ваши схемы вот-вот закипят!
2+
silicon-crit = Критическое повреждение корпуса!
3+
silicon-power-low = Энергия на исходе!
Lines changed: 315 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,315 @@
1+
# these specifically mostly come from examples of specific scottish-english (not necessarily scots) verbiage
2+
# https://en.wikipedia.org/wiki/Scotticism
3+
# https://en.wikipedia.org/wiki/Scottish_English
4+
# https://www.cs.stir.ac.uk/~kjt/general/scots.html
5+
6+
accent-scottish-words-1 = girl
7+
accent-scottish-words-replace-1 = lassie
8+
accent-scottish-words-2 = boy
9+
accent-scottish-words-replace-2 = laddie
10+
accent-scottish-words-3 = man
11+
accent-scottish-words-replace-3 = lad
12+
accent-scottish-words-4 = woman
13+
accent-scottish-words-replace-4 = lass
14+
accent-scottish-words-5 = do
15+
accent-scottish-words-replace-5 = dae
16+
accent-scottish-words-6 = don't
17+
accent-scottish-words-replace-6 = dinnae
18+
accent-scottish-words-7 = dont
19+
accent-scottish-words-replace-7 = dinnae
20+
accent-scottish-words-8 = i'm
21+
accent-scottish-words-replace-8 = A'm
22+
accent-scottish-words-9 = im
23+
accent-scottish-words-replace-9 = am
24+
accent-scottish-words-10 = going
25+
accent-scottish-words-replace-10 = gaun
26+
accent-scottish-words-11 = know
27+
accent-scottish-words-replace-11 = ken
28+
accent-scottish-words-12 = i
29+
accent-scottish-words-replace-12 = Ah
30+
accent-scottish-words-13 = you're
31+
accent-scottish-words-replace-13 = ye're
32+
accent-scottish-words-14 = youre
33+
accent-scottish-words-replace-14 = yere
34+
accent-scottish-words-15 = you
35+
accent-scottish-words-replace-15 = ya
36+
accent-scottish-words-16 = i'll
37+
accent-scottish-words-replace-16 = A'll
38+
accent-scottish-words-17 = ill
39+
accent-scottish-words-replace-17 = all
40+
accent-scottish-words-18 = of
41+
accent-scottish-words-replace-18 = ae
42+
accent-scottish-words-19 = was
43+
accent-scottish-words-replace-19 = wis
44+
accent-scottish-words-20 = can't
45+
accent-scottish-words-replace-20 = cannae
46+
accent-scottish-words-21 = cant
47+
accent-scottish-words-replace-21 = cannae
48+
accent-scottish-words-22 = yourself
49+
accent-scottish-words-replace-22 = yarsel
50+
accent-scottish-words-23 = where
51+
accent-scottish-words-replace-23 = whaur
52+
accent-scottish-words-24 = oh
53+
accent-scottish-words-replace-24 = ach
54+
accent-scottish-words-25 = little
55+
accent-scottish-words-replace-25 = wee
56+
accent-scottish-words-26 = small
57+
accent-scottish-words-replace-26 = wee
58+
accent-scottish-words-27 = shit
59+
accent-scottish-words-replace-27 = shite
60+
accent-scottish-words-28 = yeah
61+
accent-scottish-words-replace-28 = aye
62+
accent-scottish-words-29 = yea
63+
accent-scottish-words-replace-29 = aye
64+
accent-scottish-words-30 = yes
65+
accent-scottish-words-replace-30 = aye
66+
accent-scottish-words-31 = too
67+
accent-scottish-words-replace-31 = tae
68+
accent-scottish-words-32 = my
69+
accent-scottish-words-replace-32 = me
70+
accent-scottish-words-33 = not
71+
accent-scottish-words-replace-33 = nae
72+
accent-scottish-words-34 = dad
73+
accent-scottish-words-replace-34 = da
74+
accent-scottish-words-35 = mom
75+
accent-scottish-words-replace-35 = maw
76+
accent-scottish-words-36 = newbie
77+
accent-scottish-words-replace-36 = greenbeard
78+
accent-scottish-words-37 = noob
79+
accent-scottish-words-replace-37 = greenbeard
80+
accent-scottish-words-38 = noobie
81+
accent-scottish-words-replace-38 = greenbeard
82+
accent-scottish-words-39 = professional
83+
accent-scottish-words-replace-39 = greybeard
84+
accent-scottish-words-40 = veteran
85+
accent-scottish-words-replace-40 = greybeard
86+
accent-scottish-words-41 = fuck
87+
accent-scottish-words-replace-41 = feck
88+
accent-scottish-words-42 = would
89+
accent-scottish-words-replace-42 = wou
90+
accent-scottish-words-43 = should
91+
accent-scottish-words-replace-43 = shou
92+
accent-scottish-words-44 = could
93+
accent-scottish-words-replace-44 = cou
94+
accent-scottish-words-45 = would've
95+
accent-scottish-words-replace-45 = wou'hae
96+
accent-scottish-words-46 = should've
97+
accent-scottish-words-replace-46 = shou'hae
98+
accent-scottish-words-47 = could've
99+
accent-scottish-words-replace-47 = cou'hae
100+
accent-scottish-words-48 = wouldve
101+
accent-scottish-words-replace-48 = wouhae
102+
accent-scottish-words-49 = shouldve
103+
accent-scottish-words-replace-49 = shouhae
104+
accent-scottish-words-50 = couldve
105+
accent-scottish-words-replace-50 = couhae
106+
accent-scottish-words-51 = would'nt
107+
accent-scottish-words-replace-51 = wou'nae
108+
accent-scottish-words-52 = should'nt
109+
accent-scottish-words-replace-52 = shou'nae
110+
accent-scottish-words-53 = could'nt
111+
accent-scottish-words-replace-53 = cou'nae
112+
accent-scottish-words-54 = wouldnt
113+
accent-scottish-words-replace-54 = wounae
114+
accent-scottish-words-55 = shouldnt
115+
accent-scottish-words-replace-55 = shounae
116+
accent-scottish-words-56 = couldnt
117+
accent-scottish-words-replace-56 = counae
118+
accent-scottish-words-57 = have
119+
accent-scottish-words-replace-57 = hae
120+
accent-scottish-words-58 = no
121+
accent-scottish-words-replace-58 = nae
122+
accent-scottish-words-59 = to
123+
accent-scottish-words-replace-59 = tae
124+
accent-scottish-words-60 = the
125+
accent-scottish-words-replace-60 = tha
126+
accent-scottish-words-61 = have
127+
accent-scottish-words-replace-61 = hae
128+
accent-scottish-words-62 = are
129+
accent-scottish-words-replace-62 = be
130+
accent-scottish-words-63 = is
131+
accent-scottish-words-replace-63 = be
132+
accent-scottish-words-64 = am
133+
accent-scottish-words-replace-64 = be
134+
accent-scottish-words-66 = food
135+
accent-scottish-words-replace-66 = grub
136+
accent-scottish-words-67 = have
137+
accent-scottish-words-replace-67 = hae
138+
accent-scottish-words-68 = hey
139+
accent-scottish-words-replace-68 = oi
140+
accent-scottish-words-69 = what
141+
accent-scottish-words-replace-69 = wot
142+
accent-scottish-words-70 = where
143+
accent-scottish-words-replace-70 = whaur
144+
accent-scottish-words-71 = when
145+
accent-scottish-words-replace-71 = wen
146+
accent-scottish-words-72 = myself
147+
accent-scottish-words-replace-72 = mesel
148+
accent-scottish-words-73 = himself
149+
accent-scottish-words-replace-73 = hesel
150+
accent-scottish-words-74 = herself
151+
accent-scottish-words-replace-74 = shesel
152+
accent-scottish-words-75 = move
153+
accent-scottish-words-replace-75 = moev
154+
accent-scottish-words-76 = moving
155+
accent-scottish-words-replace-76 = moeven
156+
accent-scottish-words-77 = wasn't
157+
accent-scottish-words-replace-77 = wis'nae
158+
accent-scottish-words-78 = wasnt
159+
accent-scottish-words-replace-78 = wisnae
160+
accent-scottish-words-79 = wizard
161+
accent-scottish-words-replace-79 = wizer
162+
accent-scottish-words-80 = fool
163+
accent-scottish-words-replace-80 = wazzok
164+
accent-scottish-words-81 = have
165+
accent-scottish-words-replace-81 = hae
166+
accent-scottish-words-82 = for
167+
accent-scottish-words-replace-82 = fer
168+
accent-scottish-words-83 = about
169+
accent-scottish-words-replace-83 = aboot
170+
accent-scottish-words-84 = ow
171+
accent-scottish-words-replace-84 = och
172+
accent-scottish-words-85 = small
173+
accent-scottish-words-replace-85 = wee
174+
accent-scottish-words-86 = tiny
175+
accent-scottish-words-replace-86 = tinnae
176+
accent-scottish-words-87 = baby
177+
accent-scottish-words-replace-87 = babee
178+
accent-scottish-words-88 = after
179+
accent-scottish-words-replace-88 = efter
180+
accent-scottish-words-90 = gonna
181+
accent-scottish-words-replace-90 = gaun'ae
182+
accent-scottish-words-91 = going to
183+
accent-scottish-words-replace-91 = gaun'ae
184+
accent-scottish-words-92 = gone
185+
accent-scottish-words-replace-92 = gaun
186+
accent-scottish-words-93 = talk
187+
accent-scottish-words-replace-93 = blather
188+
accent-scottish-words-94 = talking
189+
accent-scottish-words-replace-94 = blatherin'
190+
accent-scottish-words-95 = now
191+
accent-scottish-words-replace-95 = nou
192+
accent-scottish-words-96 = talked
193+
accent-scottish-words-replace-96 = blathered
194+
accent-scottish-words-97 = give
195+
accent-scottish-words-replace-97 = gie
196+
accent-scottish-words-98 = gimme
197+
accent-scottish-words-replace-98 = gie's
198+
accent-scottish-words-99 = give me
199+
accent-scottish-words-replace-99 = gie's
200+
accent-scottish-words-100 = do you
201+
accent-scottish-words-replace-100 = d'ya
202+
accent-scottish-words-101 = with
203+
accent-scottish-words-replace-101 = wi
204+
accent-scottish-words-102 = without
205+
accent-scottish-words-replace-102 = wi'ou
206+
accent-scottish-words-103 = whether
207+
accent-scottish-words-replace-103 = we'er
208+
accent-scottish-words-104 = ever
209+
accent-scottish-words-replace-104 = e'er
210+
accent-scottish-words-105 = whenever
211+
accent-scottish-words-replace-105 = wen'er
212+
accent-scottish-words-106 = whatever
213+
accent-scottish-words-replace-106 = wot'er
214+
accent-scottish-words-107 = how
215+
accent-scottish-words-replace-107 = hou
216+
accent-scottish-words-108 = however
217+
accent-scottish-words-replace-108 = hou'er
218+
accent-scottish-words-109 = think
219+
accent-scottish-words-replace-109 = reckon
220+
accent-scottish-words-111 = hamlet
221+
accent-scottish-words-replace-111 = hammy
222+
accent-scottish-words-112 = hampster
223+
accent-scottish-words-replace-112 = hammy
224+
accent-scottish-words-113 = nukie
225+
accent-scottish-words-replace-113 = reddie
226+
accent-scottish-words-114 = nuclear op
227+
accent-scottish-words-replace-114 = reddie
228+
accent-scottish-words-115 = nuclear operative
229+
accent-scottish-words-replace-115 = reddie
230+
accent-scottish-words-116 = nuclear agent
231+
accent-scottish-words-replace-116 = reddie
232+
accent-scottish-words-121 = more
233+
accent-scottish-words-replace-121 = maer
234+
accent-scottish-words-122 = moreover
235+
accent-scottish-words-replace-122 = maero'er
236+
accent-scottish-words-123 = over
237+
accent-scottish-words-replace-123 = o'er
238+
accent-scottish-words-125 = human
239+
accent-scottish-words-replace-125 = hyooman
240+
accent-scottish-words-126 = dwarf
241+
accent-scottish-words-replace-126 = dorf
242+
accent-scottish-words-127 = slime
243+
accent-scottish-words-replace-127 = oozi
244+
accent-scottish-words-128 = rat
245+
accent-scottish-words-replace-128 = raki
246+
accent-scottish-words-129 = arachnid
247+
accent-scottish-words-replace-129 = aranaki
248+
accent-scottish-words-130 = spider
249+
accent-scottish-words-replace-130 = hisser
250+
accent-scottish-words-131 = isn't
251+
accent-scottish-words-replace-131 = be'nae
252+
accent-scottish-words-132 = aren't
253+
accent-scottish-words-replace-132 = be'nae
254+
accent-scottish-words-133 = ain't
255+
accent-scottish-words-replace-133 = be'nae
256+
accent-scottish-words-134 = isnt
257+
accent-scottish-words-replace-134 = benae
258+
accent-scottish-words-135 = arent
259+
accent-scottish-words-replace-135 = benae
260+
accent-scottish-words-136 = aint
261+
accent-scottish-words-replace-136 = benae
262+
accent-scottish-words-137 = zombie
263+
accent-scottish-words-replace-137 = rotter
264+
accent-scottish-words-138 = zomb
265+
accent-scottish-words-replace-138 = rotter
266+
accent-scottish-words-139 = clown
267+
accent-scottish-words-replace-139 = honki
268+
accent-scottish-words-140 = cluwn
269+
accent-scottish-words-replace-140 = hunki
270+
accent-scottish-words-141 = carp
271+
accent-scottish-words-replace-141 = fin
272+
accent-scottish-words-142 = crusher
273+
accent-scottish-words-replace-142 = axe
274+
accent-scottish-words-143 = coward
275+
accent-scottish-words-replace-143 = leaflover
276+
accent-scottish-words-144 = idiot
277+
accent-scottish-words-replace-144 = eejit
278+
accent-scottish-words-145 = stupid
279+
accent-scottish-words-replace-145 = diteit
280+
accent-scottish-words-146 = officer
281+
accent-scottish-words-replace-146 = bobby
282+
accent-scottish-words-147 = seccie
283+
accent-scottish-words-replace-147 = bobby
284+
accent-scottish-words-148 = a
285+
accent-scottish-words-replace-148 = ae
286+
accent-scottish-words-149 = certain
287+
accent-scottish-words-replace-149 = cocksure
288+
accent-scottish-words-150 = to all
289+
accent-scottish-words-replace-150 = t'all
290+
accent-scottish-words-151 = old
291+
accent-scottish-words-replace-151 = ol'
292+
accent-scottish-words-152 = filthy
293+
accent-scottish-words-replace-152 = manky
294+
accent-scottish-words-153 = i do not know
295+
accent-scottish-words-replace-153 = ah dinnae ken
296+
accent-scottish-words-154 = dumbass
297+
accent-scottish-words-replace-154 = bampot
298+
accent-scottish-words-155 = there
299+
accent-scottish-words-replace-155 = thare
300+
accent-scottish-words-156 = from
301+
accent-scottish-words-replace-156 = frae
302+
accent-scottish-words-157 = highland
303+
accent-scottish-words-replace-157 = hielan
304+
accent-scottish-words-158 = high
305+
accent-scottish-words-replace-158 = hie
306+
accent-scottish-words-159 = syndicate agent
307+
accent-scottish-words-replace-159 = snakey bastard
308+
accent-scottish-words-160 = syndicate
309+
accent-scottish-words-replace-160 = snake
310+
accent-scottish-words-161 = syndicates
311+
accent-scottish-words-replace-161 = snakes
312+
accent-scottish-words-162 = nukies
313+
accent-scottish-words-replace-162 = reddies
314+
accent-scottish-words-163 = syndicate agents
315+
accent-scottish-words-replace-163 = snakey bastards
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
agent-id-card-current-number = Номер NanoChat
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
marking-HumanHairShortBedhead = Short Bedhead
2+
marking-HumanHairBobClassic = Bob Hair Classic
3+
marking-HumanHairMessyClassic = Messy Classic
4+
marking-HumanHairClassicGentle = Gentle Classic
5+
marking-HumanHairClassicNoFade = Fade (None, Classic)
6+
marking-HumanHairClassicLowFade = Fade (Low, Classic)
7+
marking-HumanHairClassicMedFade = Fade (Medium, Classic)
8+
marking-HumanHairClassicOmbre = Ombre Classic
9+
marking-HumanHairClassicCrewcut = Crewcut Classic
10+
marking-HumanHairClassicLong = Classic Long Hair 1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
advertisement-courierdrobe-1 = Deliver parcels wearing nothing but the most resiliant shorts!
2+
advertisement-courierdrobe-2 = A great investment for your survival!
3+
advertisement-courierdrobe-3 = Wear your brown with pride!
4+
advertisement-courierdrobe-4 = These shorts are comfy and easy to wear, get yours now!
5+
advertisement-courierdrobe-5 = Outrun every danger with our stylish clothes!
6+
thankyou-courierdrobe-1 = Now get out there and deliver that mail!
7+
thankyou-courierdrobe-2 = Those parcels aren't going to deliver themselves!

0 commit comments

Comments
 (0)