1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Merge branch 'master' into 180_deg_rotater

This commit is contained in:
RogiJAG 2020-07-19 11:15:30 -05:00
commit 150bf718f7
36 changed files with 196 additions and 226 deletions

View File

@ -39,3 +39,8 @@ jobs:
- name: Lint - name: Lint
run: | run: |
yarn lint yarn lint
- name: YAML Lint
uses: ibiqlik/action-yamllint@v1.0.0
with:
file_or_dir: translations/*.yaml

4
.gitignore vendored
View File

@ -109,10 +109,6 @@ build
tmp_standalone_files tmp_standalone_files
# Github Actions files
.github/workflows
# Local config # Local config
config.local.js config.local.js
.DS_Store .DS_Store

View File

@ -3,125 +3,124 @@ os: linux
dist: xenial dist: xenial
language: node_js language: node_js
node_js: node_js:
- "10" - "12"
cache: yarn cache: yarn
# platform specific configuration # platform specific configuration
jobs: jobs:
# jobs which have to succeed # jobs which have to succeed
include: include:
# OS: MAC # OS: MAC
## -> build darwin ## -> build darwin
- name: "Standalone MacOS on MacOS" # - name: "Standalone MacOS on MacOS"
os: osx # os: osx
osx_image: xcode11.3 # osx_image: xcode11.3
before_install: # before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs # - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg # - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
script: # script:
- cd gulp # - cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare # - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.darwin64 # - yarn gulp standalone.package.prod.darwin64
- cd .. # - cd ..
## -> build win ## -> build win
- name: "Standalone Windows on MacOS" # - name: "Standalone Windows on MacOS"
os: osx # os: osx
osx_image: xcode11.3 # osx_image: xcode11.3
before_install: # before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs # - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg # - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
- HOMEBREW_NO_AUTO_UPDATE=1 brew cask install wine-stable # - HOMEBREW_NO_AUTO_UPDATE=1 brew cask install wine-stable
# prevent Wine popup dialogs about installing additional packages # # prevent Wine popup dialogs about installing additional packages
- export WINEDLLOVERRIDES="mscoree,mshtml=" # - export WINEDLLOVERRIDES="mscoree,mshtml="
- export WINEDEBUG="-all" # - export WINEDEBUG="-all"
script: # script:
- cd gulp # - cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare # - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.win64 # - yarn gulp standalone.package.prod.win64
- yarn gulp standalone.package.prod.win32 # - yarn gulp standalone.package.prod.win32
- cd .. # - cd ..
## -> build linux ## -> build linux
- name: "Standalone Linux on MacOS" # - name: "Standalone Linux on MacOS"
os: osx # os: osx
osx_image: xcode11.3 # osx_image: xcode11.3
before_install: # before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs # - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg # - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
script: # script:
- cd gulp # - cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare # - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.linux64 # - yarn gulp standalone.package.prod.linux64
- yarn gulp standalone.package.prod.linux32 # - yarn gulp standalone.package.prod.linux32
- cd .. # - cd ..
# OS: LINUX # OS: LINUX
## -> build darwin ## -> build darwin
## not possible ## not possible
## -> build win ## -> build win
- name: "Standalone Windows on Linux" # - name: "Standalone Windows on Linux"
os: linux # os: linux
addons: # addons:
apt: # apt:
packages: # packages:
- libavformat-dev # - libavformat-dev
- libavfilter-dev # - libavfilter-dev
- libavdevice-dev # - libavdevice-dev
- ffmpeg # - ffmpeg
- wine # - wine
script: # script:
- cd gulp # - cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare # - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.win64 # - yarn gulp standalone.package.prod.win64
- yarn gulp standalone.package.prod.win32 # - yarn gulp standalone.package.prod.win32
- cd .. # - cd ..
## -> build linux ## -> build linux
- name: "Standalone Linux on Linux" # - name: "Standalone Linux on Linux"
os: linux # os: linux
addons: # addons:
apt: # apt:
packages: # packages:
- libavformat-dev # - libavformat-dev
- libavfilter-dev # - libavfilter-dev
- libavdevice-dev # - libavdevice-dev
- ffmpeg # - ffmpeg
script: # script:
- cd gulp # - cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare # - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.linux64 # - yarn gulp standalone.package.prod.linux64
- yarn gulp standalone.package.prod.linux32 # - yarn gulp standalone.package.prod.linux32
- cd .. # - cd ..
# OS: WINDOWS # OS: WINDOWS
## -> build darwin ## -> build darwin
## not possible ## not possible
## -> build linux ## -> build linux
- name: "Standalone Linux on Windows" # - name: "Standalone Linux on Windows"
os: windows # os: windows
env: YARN_GPG=no # env: YARN_GPG=no
before_install: # before_install:
- choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed # - choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed
- choco install ffmpeg --version=4.2.3 # - choco install ffmpeg --version=4.2.3
- export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH # - export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/ # - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/ # - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/
script: # script:
- cd gulp # - cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare # - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.linux64 # - yarn gulp standalone.package.prod.linux64
- yarn gulp standalone.package.prod.linux32 # - yarn gulp standalone.package.prod.linux32
- cd .. # - cd ..
## -> build win ## -> build win
- name: "Standalone Windows on Windows" - name: "Standalone Windows on Windows"

6
.yamllint Normal file
View File

@ -0,0 +1,6 @@
extends: default
rules:
line-length:
level: warning
max: 200

View File

@ -6,7 +6,6 @@ export const CHANGELOG = [
"WIRES", "WIRES",
"Allow holding ALT in belt planner to reverse direction (by jakobhellermann)", "Allow holding ALT in belt planner to reverse direction (by jakobhellermann)",
"Clear cursor when trying to pipette the same building twice (by hexy)", "Clear cursor when trying to pipette the same building twice (by hexy)",
"Allow binding TAB (by swtw7466)",
"Added keybinding to close menus (by isaisstillalive / Sandwichs-del)", "Added keybinding to close menus (by isaisstillalive / Sandwichs-del)",
"Fix rare crash regarding the buildings toolbar (by isaisstillalive)", "Fix rare crash regarding the buildings toolbar (by isaisstillalive)",
"Fixed some phrases (by EnderDoom77)", "Fixed some phrases (by EnderDoom77)",

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Unknown Level savegameLevelUnknown: Unknown Level
continue: Continue continue: Continue
newGame: New Game newGame: New Game
madeBy: Made by <author-link> madeBy: Made by <author-link>

View File

@ -154,8 +154,6 @@ mainMenu:
savegameLevel: Nivell <x> savegameLevel: Nivell <x>
savegameLevelUnknown: Nivell desconegut savegameLevelUnknown: Nivell desconegut
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK

View File

@ -132,7 +132,6 @@ mainMenu:
savegameLevel: Úroveň <x> savegameLevel: Úroveň <x>
savegameLevelUnknown: Neznámá úroveň savegameLevelUnknown: Neznámá úroveň
continue: Pokračovat continue: Pokračovat
newGame: Nová hra newGame: Nová hra
madeBy: Vytvořil <author-link> madeBy: Vytvořil <author-link>

View File

@ -155,8 +155,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Unknown Level savegameLevelUnknown: Unknown Level
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK

View File

@ -150,7 +150,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Unbekanntes Level savegameLevelUnknown: Unbekanntes Level
helpTranslate: Hilf beim Übersetzen! helpTranslate: Hilf beim Übersetzen!
continue: Fortsetzen continue: Fortsetzen
newGame: Neues Spiel newGame: Neues Spiel

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Unknown Level savegameLevelUnknown: Unknown Level
continue: Continue continue: Continue
newGame: New Game newGame: New Game
madeBy: Made by <author-link> madeBy: Made by <author-link>

View File

@ -155,8 +155,6 @@ mainMenu:
savegameLevel: Taso <x> savegameLevel: Taso <x>
savegameLevelUnknown: Tuntematon Taso savegameLevelUnknown: Tuntematon Taso
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK

View File

@ -83,9 +83,6 @@ steamPage:
discordLink: Discord officiel - Parlez avec moi! discordLink: Discord officiel - Parlez avec moi!
global: global:
loading: Chargement loading: Chargement
error: Erreur error: Erreur

View File

@ -189,7 +189,6 @@ mainMenu:
# TODO # TODO
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: <x>. szint savegameLevel: <x>. szint
savegameLevelUnknown: Ismeretlen szint savegameLevelUnknown: Ismeretlen szint
continue: Continue continue: Continue
newGame: New Game newGame: New Game
madeBy: Made by <author-link> madeBy: Made by <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Livello <x> savegameLevel: Livello <x>
savegameLevelUnknown: Livello sconosciuto savegameLevelUnknown: Livello sconosciuto
continue: Continua continue: Continua
newGame: Nuova partita newGame: Nuova partita
madeBy: Creato da <author-link> madeBy: Creato da <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: レベル <x> savegameLevel: レベル <x>
savegameLevelUnknown: 不明なレベル savegameLevelUnknown: 不明なレベル
continue: 続きから continue: 続きから
newGame: 新規ゲーム newGame: 新規ゲーム
madeBy: 制作者 <author-link> madeBy: 制作者 <author-link>

View File

@ -150,7 +150,6 @@ mainMenu:
savegameLevel: 레벨 <x> savegameLevel: 레벨 <x>
savegameLevelUnknown: 레벨 모름 savegameLevelUnknown: 레벨 모름
continue: 계속하기 continue: 계속하기
newGame: 새 게임 newGame: 새 게임
madeBy: 제작 <author-link> madeBy: 제작 <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Unknown Level savegameLevelUnknown: Unknown Level
continue: Continue continue: Continue
newGame: New Game newGame: New Game
madeBy: Made by <author-link> madeBy: Made by <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Onbekend Level savegameLevelUnknown: Onbekend Level
continue: Verder continue: Verder
newGame: Nieuw Spel newGame: Nieuw Spel
madeBy: Gemaakt door <author-link> madeBy: Gemaakt door <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Nivå <x> savegameLevel: Nivå <x>
savegameLevelUnknown: Ukjent Nivå savegameLevelUnknown: Ukjent Nivå
continue: Fortsett continue: Fortsett
newGame: Nytt Spill newGame: Nytt Spill
madeBy: Laget av <author-link> madeBy: Laget av <author-link>

View File

@ -156,7 +156,6 @@ mainMenu:
savegameLevel: Poziom <x> savegameLevel: Poziom <x>
savegameLevelUnknown: Nieznany poziom savegameLevelUnknown: Nieznany poziom
madeBy: Gra wykonana przez <author-link> madeBy: Gra wykonana przez <author-link>
subreddit: Reddit subreddit: Reddit

View File

@ -150,7 +150,6 @@ mainMenu:
savegameLevel: Nível <x> savegameLevel: Nível <x>
savegameLevelUnknown: Nível desconhecido savegameLevelUnknown: Nível desconhecido
helpTranslate: Ajude a traduzir! helpTranslate: Ajude a traduzir!
continue: Continuar continue: Continuar
newGame: Novo jogo newGame: Novo jogo
@ -300,7 +299,6 @@ ingame:
pipette: Conta-Gotas pipette: Conta-Gotas
switchLayers: Trocar Camadas switchLayers: Trocar Camadas
# Everything related to placing buildings (I.e. as soon as you selected a building # Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar) # from the toolbar)
buildingPlacement: buildingPlacement:
@ -551,7 +549,6 @@ buildings:
name: Misturador de Fios name: Misturador de Fios
description: Une dois fios de energia em um. description: Une dois fios de energia em um.
storyRewards: storyRewards:
# Those are the rewards gained from completing the store # Those are the rewards gained from completing the store
reward_cutter_and_trash: reward_cutter_and_trash:

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Nível <x> savegameLevel: Nível <x>
savegameLevelUnknown: Nível desconhecido savegameLevelUnknown: Nível desconhecido
continue: Continuar continue: Continuar
newGame: Novo Jogo newGame: Novo Jogo
madeBy: Criado por <author-link> madeBy: Criado por <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Nivelul <x> savegameLevel: Nivelul <x>
savegameLevelUnknown: Nivel necunoscut savegameLevelUnknown: Nivel necunoscut
continue: Continuă continue: Continuă
newGame: Joc nou newGame: Joc nou
madeBy: Făcut de <author-link> madeBy: Făcut de <author-link>

View File

@ -152,7 +152,6 @@ mainMenu:
savegameLevel: Уровень <x> savegameLevel: Уровень <x>
savegameLevelUnknown: Неизвестный уровень savegameLevelUnknown: Неизвестный уровень
continue: Продолжить continue: Продолжить
newGame: Новая Игра newGame: Новая Игра
madeBy: Создал <author-link> madeBy: Создал <author-link>

View File

@ -869,7 +869,7 @@ about:
title: O Igri title: O Igri
body: >- body: >-
Ova igra je otvorenog koda i napravljena je od strane <a href="https://github.com/tobspr" target="_blank">Tobias Springer</a> (to sam ja).<br><br> Ova igra je otvorenog koda i napravljena je od strane <a href="https://github.com/tobspr" target="_blank">Tobias Springer</a> (to sam ja).<br><br>
#TODO
Ako želite da doprinesete razvoju, bacite pogled na <a href="<githublink>" target="_blank">shapez.io github</a>.<br><br> Ako želite da doprinesete razvoju, bacite pogled na <a href="<githublink>" target="_blank">shapez.io github</a>.<br><br>
Bez odlične discord zajednice ova igra, kao ni druge, ne bi postojala - Pridružite se <a href="<discordlink>" target="_blank">discord serveru</a>!<br><br> Bez odlične discord zajednice ova igra, kao ni druge, ne bi postojala - Pridružite se <a href="<discordlink>" target="_blank">discord serveru</a>!<br><br>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Nivå <x> savegameLevel: Nivå <x>
savegameLevelUnknown: Okänd Nivå savegameLevelUnknown: Okänd Nivå
continue: Fortsätt continue: Fortsätt
newGame: Nytt spel newGame: Nytt spel
madeBy: Skapad av <author-link> madeBy: Skapad av <author-link>

View File

@ -151,7 +151,6 @@ mainMenu:
savegameLevel: Seviye <x> savegameLevel: Seviye <x>
savegameLevelUnknown: Bilinmeyen seviye savegameLevelUnknown: Bilinmeyen seviye
continue: Devam et continue: Devam et
newGame: Yeni Oyun newGame: Yeni Oyun
madeBy: Made by <author-link> madeBy: Made by <author-link>

View File

@ -156,8 +156,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: Unknown Level savegameLevelUnknown: Unknown Level
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK
@ -637,8 +635,6 @@ storyRewards:
desc: >- desc: >-
This level gave you no reward, but the next one will! <br><br> PS: Better don't destroy your existing factory - You need <strong>all</strong> those shapes later again to <strong>unlock upgrades</strong>! This level gave you no reward, but the next one will! <br><br> PS: Better don't destroy your existing factory - You need <strong>all</strong> those shapes later again to <strong>unlock upgrades</strong>!
no_reward_freeplay: no_reward_freeplay:
title: Next level title: Next level
desc: >- desc: >-

View File

@ -45,6 +45,7 @@
# Painter上色机 # Painter上色机
# Trash垃圾桶 # Trash垃圾桶
---
steamPage: steamPage:
# This is the short text appearing on the steam page # This is the short text appearing on the steam page
shortText: shapez.io 是一款在无边际的地图上建造工厂、自动化生产与组合愈加复杂的图形的游戏。 shortText: shapez.io 是一款在无边际的地图上建造工厂、自动化生产与组合愈加复杂的图形的游戏。
@ -178,9 +179,8 @@ mainMenu:
很抱歉, 本游戏在当前浏览器上可能运行缓慢! 使用chrome或者获取独立版以得到更好的体验。 很抱歉, 本游戏在当前浏览器上可能运行缓慢! 使用chrome或者获取独立版以得到更好的体验。
savegameLevel: 第<x>关 savegameLevel: 第<x>关
savegameLevelUnknown: 未知关卡 savegameLevelUnknown:
未知关卡
# contestOver: This contest has ended - Join the discord to get noticed about new contests! # contestOver: This contest has ended - Join the discord to get noticed about new contests!
continue: 继续游戏 continue: 继续游戏
newGame: 新游戏 newGame: 新游戏

View File

@ -178,7 +178,6 @@ mainMenu:
savegameLevel: Level <x> savegameLevel: Level <x>
savegameLevelUnknown: 未知關卡 savegameLevelUnknown: 未知關卡
continue: 繼續 continue: 繼續
newGame: 新遊戲 newGame: 新遊戲
madeBy: 作者:<author-link> madeBy: 作者:<author-link>