ss220club / Bandastation

SS220 TG repository
https://discord.gg/ss220
GNU Affero General Public License v3.0
30 stars 34 forks source link

Merge upstream [02.08.2024] #479

Closed Gaxeer closed 2 months ago

Gaxeer commented 2 months ago

About The Pull Request

Merge upstream [02.08.2024]

github-actions[bot] commented 2 months ago

This pr causes following conflicts on translate branch:

++<<<<<<< HEAD
 +    <Stack fill>
 +      <Stack.Item width="160px">
 +        <Stack vertical fill>
 +          <Stack.Item>
 +            <Stack>
 +              <Stack.Item grow={1}>
 +                <Button
 +                  bold
 +                  fluid
 +                  lineHeight={2}
 +                  style={{
 +                    overflow: 'hidden',
 +                    whiteSpace: 'nowrap',
 +                    textOverflow: 'ellipsis',
 +                    textAlign: 'center',
 +                  }}
 +                  onClick={() => act('buy_raw_tc')}
 +                >
 +                  {currency}
 +                </Button>
 +              </Stack.Item>
 +              <Stack.Item>
 +                <Button
 +                  fluid
 +                  lineHeight={2}
 +                  textAlign="center"
 +                  icon={compactMode ? 'maximize' : 'minimize'}
 +                  tooltip={compactMode ? 'Detailed view' : 'Compact view'}
 +                  onClick={() => setCompactMode(!compactMode)}
 +                />
 +              </Stack.Item>
 +            </Stack>
 +          </Stack.Item>
 +          <Stack.Item>
 +            <Input
 +              autoFocus
 +              value={searchText}
 +              placeholder="Search..."
 +              onInput={(e, value) => setSearchText(value)}
 +              fluid
 +            />
 +          </Stack.Item>
 +          <Stack.Item grow={1}>
 +            <Tabs vertical fill>
++=======
+     <Section
+       title={<Box inline>{currency}</Box>}
+       buttons={
+         <>
+           Поиск
+           <Input
+             autoFocus
+             value={searchText}
+             onInput={(e, value) => setSearchText(value)}
+             mx={1}
+           />
+           <Button
+             icon={compactMode ? 'list' : 'info'}
+             onClick={() => setCompactMode(!compactMode)}
+           >
+             {compactMode ? 'Компактный' : 'Подробный'}
+           </Button>
+         </>
+       }
+     >
+       <Stack>
+         {searchText.length === 0 && (
+           <Stack.Item mr={1}>
+             <Tabs vertical>
++>>>>>>> origin/translate
++<<<<<<< HEAD
 +    <Section fill scrollable align="center">
 +      <Box my={4} bold fontSize={1.2} color="green">
 +        WELCOME, AGENT.
 +      </Box>
 +      <Box my={4} bold fontSize={1.2}>
 +        Your Primary Objectives are as follows. Complete these at all costs.
 +      </Box>
 +      <Box my={4} bold fontSize={1.2}>
 +        Completing Secondary Objectives may allow you to aquire additional
 +        equipment.
 +      </Box>
++=======
+     <Section fill>
+       <Section>
+         <Box mt={3} mb={3} bold fontSize={1.2} align="center" color="white">
+           {'Агент, это ваши основные задачи. Выполните их любой ценой.'}
+         </Box>
+         <Box mt={3} mb={5} bold fontSize={1.2} align="center" color="white">
+           {
+             'Завершение второстепенных задач позволяет получить дополнительное оборудование.'
+           }
+         </Box>
+       </Section>
++>>>>>>> origin/translate
++<<<<<<< HEAD
 +              <NoticeBox mt={1}>
 +                Taking this item will lock you from further purchasing from the
 +                marketplace. Additionally, if you have already purchased an
 +                item, you will not be able to purchase this.
 +              </NoticeBox>
++=======
+               <Box color="orange" bold>
+                 Покупка этого предмета навсегда заблокирует возможность
+                 дальнейших покупок. К тому же, если вы купили любой другой
+                 предмет, то вы не сможете купить этот.
+               </Box>
++>>>>>>> origin/translate
++<<<<<<< HEAD
 +      <Window width={700} height={600} theme="syndicate">
 +        <Window.Content>
 +          <Stack fill vertical>
 +            {!!has_progression && (
 +              <Stack.Item>
 +                <Section fitted>
 +                  <Stack fill>
 +                    <Stack.Item p="4px">
++=======
+       <Window width={820} height={580} theme="syndicate">
+         <Window.Content scrollable={currentTab !== 0 || !has_objectives}>
+           <Stack vertical fill>
+             <Stack.Item>
+               <Section>
+                 <Stack>
+                   <Stack.Item grow={1} align="center">
+                     <Box fontSize={0.8}>
+                       SyndOS Version 3.17 &nbsp;
+                       <Box color="green" as="span">
+                         Безопасное соединение
+                       </Box>
+                     </Box>
+                     <Box color="green" bold fontSize={1.2}>
+                       ПРИВЕТСТВУЕМ, АГЕНТ.
+                     </Box>
+                   </Stack.Item>
+                   <Stack.Item align="center">
+                     <Box bold fontSize={1.2}>
++>>>>>>> origin/translate
++<<<<<<< HEAD
++=======
+                     </Box>
+                     <Box color="good" bold fontSize={1.2} textAlign="right">
+                       {telecrystals} TC
+                     </Box>
+                   </Stack.Item>
+                 </Stack>
+               </Section>
+             </Stack.Item>
+             <Stack.Item>
+               <Section fitted>
+                 <Stack align="center">
+                   <Stack.Item grow={1}>
+                     <Tabs fluid textAlign="center">
+                       {!!has_objectives && (
+                         <>
+                           <Tabs.Tab
+                             selected={currentTab === 0}
+                             onClick={() => this.setState({ currentTab: 0 })}
+                           >
+                             Основные задачи
+                           </Tabs.Tab>
+                           <Tabs.Tab
+                             selected={currentTab === 1}
+                             onClick={() => this.setState({ currentTab: 1 })}
+                           >
+                             Второстепенные задачи
+                           </Tabs.Tab>
+                         </>
+                       )}
+                       <Tabs.Tab
+                         selected={currentTab === 2 || !has_objectives}
+                         onClick={() => this.setState({ currentTab: 2 })}
+                       >
+                         Рынок
+                       </Tabs.Tab>
+                     </Tabs>
+                   </Stack.Item>
+                   {!!lockable && (
+                     <Stack.Item mr={1}>
+                       <Button
+                         icon="times"
+                         content="Заблокировать"
+                         color="transparent"
+                         onClick={() => act('lock')}
+                       />
++>>>>>>> origin/translate