forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into master-official-fork
- Loading branch information
Showing
1,535 changed files
with
1,119,495 additions
and
14,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,40 @@ | ||
<!-- By ticking or leaving ticked the option "Allow edits and access to secrets by maintainers" you give permission for repository maintainers to push changes to your branch without explicitly asking. --> | ||
<!-- Пишите **НИЖЕ** заголовков и **ВЫШЕ** комментариев, иначе что то может пойти не так. --> | ||
<!-- Вы можете прочитать Contributing.MD, если хотите узнать больше. --> | ||
|
||
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> | ||
<!-- You can view Contributing.MD for a detailed description of the pull request process. --> | ||
## Что этот PR делает | ||
|
||
## What Does This PR Do | ||
<!-- Include a small to medium description of what your PR changes. --> | ||
<!-- Document all changes, as not doing this may delay reviews or even discourage maintainers from merging your PR! --> | ||
<!-- If your PR fixes an issue, add "Fixes #1234" somewhere in the PR description. This will automatically close the bug upon PR submission. --> | ||
<!-- Вкратце опишите изменения, которые вносите. --> | ||
<!-- Опишите **все** изменения, так как противное может сказаться на рассмотрении этого PR'а! --> | ||
<!-- Если вы исправляете Issue, добавьте "Fixes #xxxx" (где xxxx - номер Issue) где-нибудь в описании PR'а. Это автоматически закроет Issue после принятия PR'а. --> | ||
|
||
## Why It's Good For The Game | ||
<!-- Add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> | ||
## Почему это хорошо для игры | ||
|
||
## Images of changes | ||
<!-- If you did not make a map or sprite edit, you may delete this section. You may include a gif or mp4 of your feature if you want. --> | ||
<!-- Опишите, почему, по вашему, следует добавить эти изменения в игру. --> | ||
|
||
## Testing | ||
<!-- How did you test the PR, if at all? --> | ||
## Изображения изменений | ||
|
||
<!-- Если вы не меняли карту или спрайты, можете опустить эту секцию. Если хотите, можете вставить видео. --> | ||
|
||
## Тестирование | ||
|
||
<!-- Как вы тестировали свой PR, если делали это вовсе? --> | ||
|
||
## Changelog | ||
|
||
:cl: | ||
add: Added new things | ||
del: Removed old things | ||
tweak: Tweaked a few things | ||
fix: Fixed a few things | ||
wip: Added a few works in progress | ||
soundadd: Added a new sound thingy | ||
sounddel: Removed an old sound thingy | ||
imageadd: Added some icons and images | ||
imagedel: Deleted some icons and images | ||
spellcheck: Fixed a few typos | ||
experiment: Added an experimental thingy | ||
add: Что-то добавил | ||
del: Что-то удалил | ||
tweak: Поменял что-то по мелочи | ||
fix: Что-то починил | ||
wip: Какие-либо наработки в процессе | ||
soundadd: Добавил новый звук | ||
sounddel: Удалил старый звук | ||
imageadd: Добавил новую картинку | ||
imagedel: Удалил старую картинку | ||
spellcheck: Исправил опечатку | ||
experiment: Добавил эксперементальную функцию | ||
/:cl: | ||
|
||
<!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> | ||
<!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. --> | ||
<!-- If a PR has no impact on players (i.e. a code refactor that does not change functionality) then the entire Changelog heading and contents can be removed. --> | ||
<!-- Оба :cl:'а должны быть на месте, что-бы чейнджлог работал! Вы можете написать свой ник справа от первого :cl:, если хотите. Иначе будет использован ваш ник на ГитХабе. --> | ||
<!-- Вы можете использовать несколько записей с одинаковым префиксом (Они используются только для иконки в игре) и удалить ненужные. Помните, что чейнджлог должен быть понятен обычным игроком. --> | ||
<!-- Если чейнджлог не влияет на игроков(например, это рефактор), вы можете исключить всю секцию. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
"TGUI": | ||
- 'tgui/**' | ||
|
||
"Звук": | ||
- '**/*.ogg' | ||
|
||
"Изменение Карты": | ||
- '**/*.dmm' | ||
|
||
"Инструменты": | ||
- '.gihub/workflows/**' | ||
- 'tools/**' | ||
|
||
"Керберос": | ||
- '_maps/map_files220/delta/delta.dmm' | ||
|
||
"Кибериада": | ||
- '_maps/map_files220/cyberiad/cyberiad.dmm' | ||
|
||
"Цереброн": | ||
- '_maps/map_files220/MetaStation/MetaStation.dmm' | ||
|
||
"НЕ МОДУЛЬНО": | ||
- all: ['code/**'] | ||
|
||
"Спрайты": | ||
- '**/*.dmi' | ||
|
||
"Требуется изменение конфига": | ||
- 'config/**' | ||
|
||
"Документация": | ||
- '**/*.md' | ||
|
||
"Частичная модульность": | ||
- all: ['code/**', modular_ss220/**] | ||
|
||
"SQL": | ||
- 'SQL/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Add new translation | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['translate'] | ||
|
||
concurrency: | ||
group: translation | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
add_translation: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
name: 'Add new translation' | ||
|
||
steps: | ||
- name: 'Update Branch' | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Installing Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Installing deps | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r ./tools/translator/requirements.txt | ||
- name: Git fetch | ||
run: | | ||
git fetch | ||
- name: Create temporary branch | ||
run: | | ||
git checkout -b translate_tmp ${{ github.sha }}^ | ||
- name: Apply PR translation | ||
run: | | ||
git diff ${{ github.sha }}^..${{ github.sha }} | git apply | ||
- name: 'Generate Translation' | ||
run: | | ||
python ./tools/translator/converter.py | ||
git add ./tools/translator/ss220replace.json | ||
git checkout -- . | ||
- name: 'Push Translation' | ||
run: | | ||
git fetch origin translate | ||
git checkout origin/translate | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "ss220bot" | ||
git commit -m "Generate translation file" | ||
git push origin translate:translate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Changelog validation | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
issues: write | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened, edited, labeled, unlabeled] | ||
|
||
jobs: | ||
CheckCL: | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'ss220club/Paradise-SS220' && github.base_ref == 'master' && github.event.pull_request.draft == false | ||
steps: | ||
- name: Downloading scripts | ||
run: | | ||
wget https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tools/changelog/check_changelog.py | ||
wget https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tools/changelog/tags.yml | ||
- name: Installing Python | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 | ||
with: | ||
python-version: '3.x' | ||
- name: Installing deps | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install ruamel.yaml PyGithub | ||
- name: Changelog validation | ||
env: | ||
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} | ||
run: python check_changelog.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- translate | ||
pull_request: | ||
branches: | ||
- translate | ||
|
||
jobs: | ||
translate_check: | ||
name: Run translate checks | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: 'Update Branch' | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Installing Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Installing deps | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r ./tools/translator/requirements.txt | ||
- name: Git fetch | ||
run: | | ||
git fetch | ||
- name: Create temporary branch | ||
run: | | ||
git checkout -b translate_tmp origin/translate | ||
- name: Apply PR translation | ||
run: | | ||
git diff ..${{ github.sha }} | git apply | ||
- name: 'Generate Translation' | ||
run: | | ||
python ./tools/translator/converter.py |
Oops, something went wrong.