Skip to content

Commit

Permalink
translated official station goals (TGUI)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgroy committed Nov 12, 2023
1 parent 1d87b5f commit d042e48
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
24 changes: 12 additions & 12 deletions tgui/packages/tgui/interfaces/BlueSpaceArtilleryControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ export const BlueSpaceArtilleryControl = (props, context) => {
let alertStatus;
if (data.ready) {
alertStatus = (
<LabeledList.Item label="Status" color="green">
Ready
<LabeledList.Item label="Статус" color="green">
Готово
</LabeledList.Item>
);
} else if (data.reloadtime_text) {
alertStatus = (
<LabeledList.Item label="Reloading In" color="red">
<LabeledList.Item label="Перезарядка через" color="red">
{data.reloadtime_text}
</LabeledList.Item>
);
} else {
alertStatus = (
<LabeledList.Item label="Status" color="red">
No cannon connected!
<LabeledList.Item label="Статус" color="red">
Орудие не подключено!
</LabeledList.Item>
);
}
Expand All @@ -30,33 +30,33 @@ export const BlueSpaceArtilleryControl = (props, context) => {
<Section>
<LabeledList>
{data.notice && (
<LabeledList.Item label="Alert" color="red">
<LabeledList.Item label="Внимание" color="red">
{data.notice}
</LabeledList.Item>
)}
{alertStatus}
<LabeledList.Item label="Target">
<LabeledList.Item label="Цель">
<Button
icon="crosshairs"
content={data.target ? data.target : 'None'}
content={data.target ? data.target : 'Отсутствует'}
onClick={() => act('recalibrate')}
/>
</LabeledList.Item>
{data.ready === 1 && !!data.target && (
<LabeledList.Item label="Firing">
<LabeledList.Item label="Выстрел">
<Button
icon="skull"
content="FIRE!"
content="ОГОНЬ!"
color="red"
onClick={() => act('fire')}
/>
</LabeledList.Item>
)}
{!data.connected && (
<LabeledList.Item label="Maintenance">
<LabeledList.Item label="Обслуживание">
<Button
icon="wrench"
content="Complete Deployment"
content="Завершить развёртывание"
onClick={() => act('build')}
/>
</LabeledList.Item>
Expand Down
34 changes: 17 additions & 17 deletions tgui/packages/tgui/interfaces/BluespaceTap.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,36 @@ export const BluespaceTap = (props, context) => {
<Window resizable>
<Window.Content scrollable>
{!!emagged && (
<NoticeBox danger={1}>Safety Protocols disabled</NoticeBox>
<NoticeBox danger={1}>Протоколы безопасности отключены</NoticeBox>
)}
{!!(inputLevel > safeLevels) && (
<NoticeBox danger={1}>High Power, Instability likely</NoticeBox>
<NoticeBox danger={1}>Высокая мощность, возможна нестабильность</NoticeBox>
)}
<Collapsible title="Input Management">
<Section title="Input">
<Collapsible title="Управление вводом">
<Section title="Ввод">
<LabeledList>
<LabeledList.Item label="Input Level">
<LabeledList.Item label="Текущий уровень">
{inputLevel}
</LabeledList.Item>
<LabeledList.Item label="Desired Level">
<LabeledList.Item label="Целевой уровень">
<Flex inline width="100%">
<Flex.Item>
<Button
icon="fast-backward"
disabled={desiredLevel === 0}
tooltip="Set to 0"
tooltip="Установить на 0"
onClick={() => act('set', { set_level: 0 })}
/>
<Button
icon="step-backward"
tooltip="Decrease to actual input level"
tooltip="Понизить до текущего уровня"
disabled={desiredLevel === 0}
onClick={() => act('set', { set_level: inputLevel })}
/>
<Button
icon="backward"
disabled={desiredLevel === 0}
tooltip="Decrease one step"
tooltip="Понизить на шаг"
onClick={() => act('decrease')}
/>
</Flex.Item>
Expand All @@ -85,41 +85,41 @@ export const BluespaceTap = (props, context) => {
<Button
icon="forward"
disabled={desiredLevel === maxLevel}
tooltip="Increase one step"
tooltip="Повысить на шаг"
tooltipPosition="left"
onClick={() => act('increase')}
/>
<Button
icon="fast-forward"
disabled={desiredLevel === maxLevel}
tooltip="Set to max"
tooltip="Установить на максимум"
tooltipPosition="left"
onClick={() => act('set', { set_level: maxLevel })}
/>
</Flex.Item>
</Flex>
</LabeledList.Item>
<LabeledList.Item label="Current Power Use">
<LabeledList.Item label="Текущее потребление энергии">
{formatPower(powerUse)}
</LabeledList.Item>
<LabeledList.Item label="Power for next level">
<LabeledList.Item label="Энергии для следующего уровня">
{formatPower(nextLevelPower)}
</LabeledList.Item>
<LabeledList.Item label="Surplus Power">
<LabeledList.Item label="Доступно энергии">
{formatPower(availablePower)}
</LabeledList.Item>
</LabeledList>
</Section>
</Collapsible>
<Section title="Output">
<Section title="Вывод">
<Flex>
<Flex.Item>
<Box>
<LabeledList>
<LabeledList.Item label="Available Points">
<LabeledList.Item label="Доступно очков">
{points}
</LabeledList.Item>
<LabeledList.Item label="Total Points">
<LabeledList.Item label="Всего очков">
{totalPoints}
</LabeledList.Item>
</LabeledList>
Expand Down
20 changes: 10 additions & 10 deletions tgui/packages/tgui/interfaces/DnaVault.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ const DnaVaultDataBase = (props, context) => {
const average_progress = 0.66;
const bad_progress = 0.33;
return (
<Section title="DNA Vault Database">
<Section title="База данных хранилища ДНК">
<LabeledList>
<LabeledList.Item label="Human DNA">
<LabeledList.Item label="ДНК гуманоидов">
<ProgressBar
value={dna / dna_max}
ranges={{
Expand All @@ -39,10 +39,10 @@ const DnaVaultDataBase = (props, context) => {
bad: [-Infinity, bad_progress],
}}
>
{dna + ' / ' + dna_max + ' Samples'}
{dna + ' / ' + dna_max + ' образцов'}
</ProgressBar>
</LabeledList.Item>
<LabeledList.Item label="Plant DNA">
<LabeledList.Item label="ДНК растений">
<ProgressBar
value={plants / plants_max}
ranges={{
Expand All @@ -51,10 +51,10 @@ const DnaVaultDataBase = (props, context) => {
bad: [-Infinity, bad_progress],
}}
>
{plants + ' / ' + plants_max + ' Samples'}
{plants + ' / ' + plants_max + ' образцов'}
</ProgressBar>
</LabeledList.Item>
<LabeledList.Item label="Animal DNA">
<LabeledList.Item label="ДНК животных">
<ProgressBar
value={animals / animals_max}
ranges={{
Expand All @@ -63,7 +63,7 @@ const DnaVaultDataBase = (props, context) => {
bad: [-Infinity, bad_progress],
}}
>
{animals + ' / ' + animals_max + ' Samples'}
{animals + ' / ' + animals_max + ' образцов'}
</ProgressBar>
</LabeledList.Item>
</LabeledList>
Expand All @@ -75,9 +75,9 @@ const GeneTherapySelection = (props, context) => {
const { act, data } = useBackend(context);
const { choiceA, choiceB, used } = data;
return (
<Section title="Personal Gene Therapy">
<Section title="Персональная генная терапия">
<Box bold textAlign="center" mb={1}>
Applicable Gene Therapy Treatments
Предлагаемые генетические модификации
</Box>
{(!used && (
<Grid>
Expand Down Expand Up @@ -110,7 +110,7 @@ const GeneTherapySelection = (props, context) => {
</Grid>
)) || (
<Box bold textAlign="center" mb={1}>
Users DNA deemed unstable. Unable to provide more upgrades.
ДНК пользователя нестабильна. Новые обновления недоступны.
</Box>
)}
</Section>
Expand Down
8 changes: 4 additions & 4 deletions tgui/packages/tgui/interfaces/SatelliteControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const SatelliteControl = (props, context) => {
<Window resizable>
<Window.Content scrollable>
{meteor_shield && (
<Section title="Station Shield Coverage">
<Section title="Покрытие станции спутниками">
<ProgressBar
color={
meteor_shield_coverage_percentage >= 100 ? 'good' : 'average'
Expand All @@ -28,18 +28,18 @@ export const SatelliteControl = (props, context) => {
</ProgressBar>
</Section>
)}
<Section title="Satellite Network Control">
<Section title="Управление сетью спутников">
<LabeledList>
{notice && (
<LabeledList.Item label="Alert" color="red">
<LabeledList.Item label="Внимание" color="red">
{data.notice}
</LabeledList.Item>
)}
{satellites.map((sat) => (
<LabeledList.Item key={sat.id} label={'#' + sat.id}>
{sat.mode}{' '}
<Button
content={sat.active ? 'Deactivate' : 'Activate'}
content={sat.active ? 'Деактивировать' : 'Активировать'}
icon={'arrow-circle-right'}
onClick={() => act('toggle', { id: sat.id })}
/>
Expand Down
6 changes: 3 additions & 3 deletions tgui/packages/tgui/public/tgui.bundle.js

Large diffs are not rendered by default.

0 comments on commit d042e48

Please sign in to comment.