mirror of https://github.com/OpenTTD/OpenTTD
Compare commits
5 Commits
d547178d54
...
b5c705f86a
Author | SHA1 | Date |
---|---|---|
|
b5c705f86a | |
|
13759e9f23 | |
|
3e06c69e26 | |
|
9e9a343f72 | |
|
efd7ca827f |
|
@ -0,0 +1,50 @@
|
||||||
|
name: 'Setup vcpkg'
|
||||||
|
description: 'Installs vcpkg and initialises binary caching via NuGet'
|
||||||
|
inputs:
|
||||||
|
vcpkg-location:
|
||||||
|
description: 'Where to install vcpkg'
|
||||||
|
required: true
|
||||||
|
mono-install-command:
|
||||||
|
description: 'Command to run to install mono'
|
||||||
|
required: false
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Install vcpkg
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/microsoft/vcpkg "${{ inputs.vcpkg-location }}"
|
||||||
|
cd "${{ inputs.vcpkg-location }}"
|
||||||
|
./bootstrap-vcpkg.$(if [ "${{ runner.os }}" = "Windows" ]; then echo "bat"; else echo "sh"; fi) -disableMetrics
|
||||||
|
|
||||||
|
- name: Install mono
|
||||||
|
if: inputs.mono-install-command
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
${{ inputs.mono-install-command }}
|
||||||
|
echo "MONO=mono" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
|
- name: Setup NuGet Credentials
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
FEED_URL: 'https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json'
|
||||||
|
run: |
|
||||||
|
cd "${{ inputs.vcpkg-location }}"
|
||||||
|
${{ env.MONO }} $(./vcpkg fetch nuget | tail -n 1) \
|
||||||
|
sources add \
|
||||||
|
-source "${{ env.FEED_URL }}" \
|
||||||
|
-storepasswordincleartext \
|
||||||
|
-name "GitHub" \
|
||||||
|
-username "${{ github.repository_owner }}" \
|
||||||
|
-password "${{ github.token }}"
|
||||||
|
${{ env.MONO }} $(./vcpkg fetch nuget | tail -n 1) \
|
||||||
|
setapikey "${{ github.token }}" \
|
||||||
|
-source "${{ env.FEED_URL }}"
|
||||||
|
|
||||||
|
- name: Setup vcpkg caching
|
||||||
|
uses: actions/github-script@v7
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,GitHub,readwrite')
|
||||||
|
|
|
@ -32,18 +32,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
- name: Setup vcpkg
|
||||||
uses: actions/github-script@v7
|
uses: ./.github/actions/setup-vcpkg
|
||||||
with:
|
with:
|
||||||
script: |
|
vcpkg-location: ${{ runner.temp }}/vcpkg
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
mono-install-command: 'sudo apt-get install -y --no-install-recommends mono-complete'
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install vcpkg
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
|
|
||||||
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -34,18 +34,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
- name: Setup vcpkg
|
||||||
uses: actions/github-script@v7
|
uses: ./.github/actions/setup-vcpkg
|
||||||
with:
|
with:
|
||||||
script: |
|
vcpkg-location: ${{ runner.temp }}/vcpkg
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
mono-install-command: 'brew install mono'
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install vcpkg
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
|
|
||||||
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
|
|
||||||
|
|
||||||
- name: Install OpenGFX
|
- name: Install OpenGFX
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -20,18 +20,10 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
- name: Setup vcpkg
|
||||||
uses: actions/github-script@v7
|
uses: ./.github/actions/setup-vcpkg
|
||||||
with:
|
with:
|
||||||
script: |
|
vcpkg-location: ${{ runner.temp }}/vcpkg
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install vcpkg
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}\vcpkg
|
|
||||||
${{ runner.temp }}\vcpkg\bootstrap-vcpkg.bat -disableMetrics
|
|
||||||
|
|
||||||
- name: Install OpenGFX
|
- name: Install OpenGFX
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -26,18 +26,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
- name: Setup vcpkg
|
||||||
uses: actions/github-script@v7
|
uses: ./.github/actions/setup-vcpkg
|
||||||
with:
|
with:
|
||||||
script: |
|
vcpkg-location: ${{ runner.temp }}/vcpkg
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
mono-install-command: 'sudo apt-get install -y --no-install-recommends mono-complete'
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install vcpkg
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
|
|
||||||
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -35,14 +35,6 @@ jobs:
|
||||||
- name: Enable Rust cache
|
- name: Enable Rust cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
|
||||||
uses: actions/github-script@v7
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
echo "::group::Install system dependencies"
|
echo "::group::Install system dependencies"
|
||||||
|
@ -113,20 +105,16 @@ jobs:
|
||||||
# EOF
|
# EOF
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
# We use vcpkg for our dependencies, to get more up-to-date version.
|
|
||||||
echo "::group::Install vcpkg and dependencies"
|
|
||||||
|
|
||||||
git clone https://github.com/microsoft/vcpkg /vcpkg
|
|
||||||
|
|
||||||
(
|
|
||||||
cd /vcpkg
|
|
||||||
./bootstrap-vcpkg.sh -disableMetrics
|
|
||||||
)
|
|
||||||
|
|
||||||
echo "::group::Install breakpad dependencies"
|
echo "::group::Install breakpad dependencies"
|
||||||
cargo install --locked dump_syms
|
cargo install --locked dump_syms
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Setup vcpkg
|
||||||
|
uses: ./.github/actions/setup-vcpkg
|
||||||
|
with:
|
||||||
|
vcpkg-location: /vcpkg
|
||||||
|
mono-install-command: 'yum install -y mono-complete'
|
||||||
|
|
||||||
- name: Install GCC problem matcher
|
- name: Install GCC problem matcher
|
||||||
uses: ammaraskar/gcc-problem-matcher@master
|
uses: ammaraskar/gcc-problem-matcher@master
|
||||||
|
|
||||||
|
|
|
@ -37,18 +37,11 @@ jobs:
|
||||||
- name: Enable Rust cache
|
- name: Enable Rust cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
- name: Setup vcpkg
|
||||||
uses: actions/github-script@v7
|
uses: ./.github/actions/setup-vcpkg
|
||||||
with:
|
with:
|
||||||
script: |
|
vcpkg-location: ${{ runner.temp }}/vcpkg
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
mono-install-command: 'brew install mono'
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install vcpkg
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
|
|
||||||
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -45,18 +45,10 @@ jobs:
|
||||||
- name: Enable Rust cache
|
- name: Enable Rust cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Setup vcpkg caching
|
- name: Setup vcpkg
|
||||||
uses: actions/github-script@v7
|
uses: ./.github/actions/setup-vcpkg
|
||||||
with:
|
with:
|
||||||
script: |
|
vcpkg-location: ${{ runner.temp }}/vcpkg
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
|
|
||||||
|
|
||||||
- name: Install vcpkg
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}\vcpkg
|
|
||||||
${{ runner.temp }}\vcpkg\bootstrap-vcpkg.bat -disableMetrics
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -1010,11 +1010,14 @@ STR_GRAPH_CARGO_ENABLE_ALL :{TINY_FONT}{BLA
|
||||||
STR_GRAPH_CARGO_DISABLE_ALL :{TINY_FONT}{BLACK}Żaden
|
STR_GRAPH_CARGO_DISABLE_ALL :{TINY_FONT}{BLACK}Żaden
|
||||||
STR_GRAPH_CARGO_TOOLTIP_ENABLE_ALL :{BLACK}Wyświetl wszystkie ładunki na wykresie stawek za ładunek
|
STR_GRAPH_CARGO_TOOLTIP_ENABLE_ALL :{BLACK}Wyświetl wszystkie ładunki na wykresie stawek za ładunek
|
||||||
STR_GRAPH_CARGO_TOOLTIP_DISABLE_ALL :{BLACK}Ukryj wszystkie ładunki na wykresie stawek za ładunek
|
STR_GRAPH_CARGO_TOOLTIP_DISABLE_ALL :{BLACK}Ukryj wszystkie ładunki na wykresie stawek za ładunek
|
||||||
STR_GRAPH_CARGO_PAYMENT_TOGGLE_CARGO :{BLACK}Przełącz ukrywanie/wyświetlanie wykresu danego typu ładunku
|
STR_GRAPH_CARGO_PAYMENT_TOGGLE_CARGO :{BLACK}Przełącz ukrywanie/wyświetlanie wykresu ładunku danego typu
|
||||||
STR_GRAPH_CARGO_PAYMENT_CARGO :{TINY_FONT}{BLACK}{STRING}
|
STR_GRAPH_CARGO_PAYMENT_CARGO :{TINY_FONT}{BLACK}{STRING}
|
||||||
|
|
||||||
|
STR_GRAPH_INDUSTRY_CAPTION :{WHITE}{INDUSTRY} - Historia Ładunków
|
||||||
STR_GRAPH_INDUSTRY_RANGE_PRODUCED :Wyprodukowano
|
STR_GRAPH_INDUSTRY_RANGE_PRODUCED :Wyprodukowano
|
||||||
STR_GRAPH_INDUSTRY_RANGE_TRANSPORTED :Przetransportowano
|
STR_GRAPH_INDUSTRY_RANGE_TRANSPORTED :Przetransportowano
|
||||||
|
STR_GRAPH_INDUSTRY_RANGE_DELIVERED :Dostarczono
|
||||||
|
STR_GRAPH_INDUSTRY_RANGE_WAITING :Oczekujący
|
||||||
|
|
||||||
STR_GRAPH_PERFORMANCE_DETAIL_TOOLTIP :{BLACK}Pokaż szczegóły oceny wydajności
|
STR_GRAPH_PERFORMANCE_DETAIL_TOOLTIP :{BLACK}Pokaż szczegóły oceny wydajności
|
||||||
|
|
||||||
|
@ -4403,6 +4406,8 @@ STR_INDUSTRY_VIEW_PRODUCTION_LAST_MONTH_TITLE :{BLACK}Wyproduk
|
||||||
STR_INDUSTRY_VIEW_PRODUCTION_LAST_MINUTE_TITLE :{BLACK}Wyprodukowano w poprzedniej minucie:
|
STR_INDUSTRY_VIEW_PRODUCTION_LAST_MINUTE_TITLE :{BLACK}Wyprodukowano w poprzedniej minucie:
|
||||||
STR_INDUSTRY_VIEW_TRANSPORTED :{YELLOW}{CARGO_LONG}{STRING}{BLACK} ({COMMA}% przetransportowano)
|
STR_INDUSTRY_VIEW_TRANSPORTED :{YELLOW}{CARGO_LONG}{STRING}{BLACK} ({COMMA}% przetransportowano)
|
||||||
STR_INDUSTRY_VIEW_LOCATION_TOOLTIP :{BLACK}Wyśrodkuj widok główny na lokalizacji przedsiębiorstwa. Użyj Ctrl, aby otworzyć nowy podgląd na jego lokalizację
|
STR_INDUSTRY_VIEW_LOCATION_TOOLTIP :{BLACK}Wyśrodkuj widok główny na lokalizacji przedsiębiorstwa. Użyj Ctrl, aby otworzyć nowy podgląd na jego lokalizację
|
||||||
|
STR_INDUSTRY_VIEW_CARGO_GRAPH :{BLACK}Wykres Produkcji
|
||||||
|
STR_INDUSTRY_VIEW_CARGO_GRAPH_TOOLTIP :{BLACK}Wyświetl na wykresie historię stanu ładunków w tym przedsiębiorstwie
|
||||||
STR_INDUSTRY_VIEW_PRODUCTION_LEVEL :{BLACK}Poziom produkcji: {YELLOW}{COMMA}%
|
STR_INDUSTRY_VIEW_PRODUCTION_LEVEL :{BLACK}Poziom produkcji: {YELLOW}{COMMA}%
|
||||||
STR_INDUSTRY_VIEW_INDUSTRY_ANNOUNCED_CLOSURE :{YELLOW}Przedsiębiorstwo ogłosiło likwidację!
|
STR_INDUSTRY_VIEW_INDUSTRY_ANNOUNCED_CLOSURE :{YELLOW}Przedsiębiorstwo ogłosiło likwidację!
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
##id 0x0000
|
##id 0x0000
|
||||||
STR_NULL :
|
STR_NULL :
|
||||||
STR_EMPTY :
|
STR_EMPTY :
|
||||||
STR_UNDEFINED :(frase indefinida)
|
STR_UNDEFINED :(cadeia de caracteres indefinida)
|
||||||
STR_JUST_NOTHING :Nada
|
STR_JUST_NOTHING :Nada
|
||||||
|
|
||||||
# Cargo related strings
|
# Cargo related strings
|
||||||
|
|
|
@ -59,7 +59,7 @@ static ChangeInfoResult LoadTranslationTable(uint first, uint last, ByteReader &
|
||||||
GRFFile *grf_override = GetCurrentGRFOverride();
|
GRFFile *grf_override = GetCurrentGRFOverride();
|
||||||
if (grf_override != nullptr) {
|
if (grf_override != nullptr) {
|
||||||
/* GRF override is present, copy the translation table to the overridden GRF as well. */
|
/* GRF override is present, copy the translation table to the overridden GRF as well. */
|
||||||
GrfMsg(1, "LoadTranslationTable: Copying {} translation table to override GRFID '{}'", name, std::byteswap(grf_override->grfid));
|
GrfMsg(1, "LoadTranslationTable: Copying {} translation table to override GRFID {:08X}", name, std::byteswap(grf_override->grfid));
|
||||||
std::vector<T> &override_table = gettable(*grf_override);
|
std::vector<T> &override_table = gettable(*grf_override);
|
||||||
override_table = translation_table;
|
override_table = translation_table;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue