Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2022-06-26 12:10:02 -04:00
37 changed files with 163 additions and 46 deletions

View File

@@ -121,7 +121,7 @@ committingchanges = Committing Changes
done = Done
feature.unsupported = Your device does not support this feature.
mods.initfailed = [red]\u26a0[] The previous Mindustry instance failed to initialize. This was likely caused by misbehaving mods.\n\nTo prevent a crash loop, [red]all mods have been disabled.[]
mods.initfailed = [red]\u26A0[] The previous Mindustry instance failed to initialize. This was likely caused by misbehaving mods.\n\nTo prevent a crash loop, [red]all mods have been disabled.[]
mods = Mods
mods.none = [lightgray]No mods found!
mods.guide = Modding Guide
@@ -450,6 +450,9 @@ editor.errorheader = This map file is either not valid or corrupt.
editor.errorname = Map has no name defined. Are you trying to load a save file?
editor.update = Update
editor.randomize = Randomize
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Apply
editor.generate = Generate
editor.sectorgenerate = Sector Generate
@@ -590,8 +593,8 @@ objective.destroyunits = [accent]Destroy: [][lightgray]{0}[]x Units
objective.enemiesapproaching = [accent]Enemies approaching in [lightgray]{0}[]
objective.destroycore = [accent]Destroy Enemy Core
objective.command = [accent]Command Units
objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected: [lightgray]{0}
announce.nuclearstrike = [red]\u26a0 NUCLEAR STRIKE INBOUND \u26a0
objective.nuclearlaunch = [accent]\u26A0 Nuclear launch detected: [lightgray]{0}
announce.nuclearstrike = [red]\u26A0 NUCLEAR STRIKE INBOUND \u26A0
loadout = Loadout
resources = Resources
@@ -899,7 +902,7 @@ bullet.reload = [stat]{0}[lightgray]x fire rate
bullet.range = [stat]{0}[lightgray] tiles range
unit.blocks = blocks
unit.blockssquared = blocks²
unit.blockssquared = blocks\u00B2
unit.powersecond = power units/second
unit.tilessecond = tiles/second
unit.liquidsecond = liquid units/second
@@ -1471,39 +1474,39 @@ team.blue.name = Blue
hint.skip = Skip
hint.desktopMove = Use [accent][[WASD][] to move.
hint.zoom = [accent]Scroll[] to zoom in or out.
hint.mine = Move near the \uf8c4 copper ore and [accent]tap[] it to mine manually.
hint.mine = Move near the \uF8C4 copper ore and [accent]tap[] it to mine manually.
hint.desktopShoot = [accent][[Left-click][] to shoot.
hint.depositItems = To transfer items, drag from your ship to the core.
hint.respawn = To respawn as a ship, press [accent][[V][].
hint.respawn.mobile = You have switched control to a unit/structure. To respawn as a ship, [accent]tap the avatar in the top left.[]
hint.desktopPause = Press [accent][[Space][] to pause and unpause the game.
hint.placeDrill = Select the \ue85e [accent]Drill[] tab in the menu at the bottom right, then select a \uf870 [accent]Drill[] and click on a copper patch to place it.
hint.placeDrill.mobile = Select the \ue85e [accent]Drill[] tab in the menu at the bottom right, then select a \uf870 [accent]Drill[] and tap on a copper patch to place it.\n\nPress the \ue800 [accent]checkmark[] at the bottom right to confirm.
hint.placeConveyor = Conveyors move items from drills into other blocks. Select a \uf896 [accent]Conveyor[] from the \ue814 [accent]Distribution[] tab.\n\nClick and drag to place multiple conveyors.\n[accent]Scroll[] to rotate.
hint.placeConveyor.mobile = Conveyors move items from drills into other blocks. Select a \uf896 [accent]Conveyor[] from the \ue814 [accent]Distribution[] tab.\n\nHold down your finger for a second and drag to place multiple conveyors.
hint.placeTurret = Place \uf861 [accent]Turrets[] to defend your base from enemies.\n\nTurrets require ammo - in this case, \uf838copper.\nUse conveyors and drills to supply them.
hint.placeDrill = Select the \uE85E [accent]Drill[] tab in the menu at the bottom right, then select a \uF870 [accent]Drill[] and click on a copper patch to place it.
hint.placeDrill.mobile = Select the \uE85E [accent]Drill[] tab in the menu at the bottom right, then select a \uF870 [accent]Drill[] and tap on a copper patch to place it.\n\nPress the \uE800 [accent]checkmark[] at the bottom right to confirm.
hint.placeConveyor = Conveyors move items from drills into other blocks. Select a \uF896 [accent]Conveyor[] from the \uE814 [accent]Distribution[] tab.\n\nClick and drag to place multiple conveyors.\n[accent]Scroll[] to rotate.
hint.placeConveyor.mobile = Conveyors move items from drills into other blocks. Select a \uF896 [accent]Conveyor[] from the \uE814 [accent]Distribution[] tab.\n\nHold down your finger for a second and drag to place multiple conveyors.
hint.placeTurret = Place \uF861 [accent]Turrets[] to defend your base from enemies.\n\nTurrets require ammo - in this case, \uF838copper.\nUse conveyors and drills to supply them.
hint.breaking = [accent]Right-click[] and drag to break blocks.
hint.breaking.mobile = Activate the \ue817 [accent]hammer[] in the bottom right and tap to break blocks.\n\nHold down your finger for a second and drag to break in a selection.
hint.breaking.mobile = Activate the \uE817 [accent]hammer[] in the bottom right and tap to break blocks.\n\nHold down your finger for a second and drag to break in a selection.
hint.blockInfo = View information of a block by selecting it in the [accent]build menu[], then selecting the [accent][[?][] button at the right.
hint.derelict = [accent]Derelict[] structures are broken remnants of old bases that no longer function.\n\nThese structures can be [accent]deconstructed[] for resources.
hint.research = Use the \ue875 [accent]Research[] button to research new technology.
hint.research.mobile = Use the \ue875 [accent]Research[] button in the \ue88c [accent]Menu[] to research new technology.
hint.research = Use the \uE875 [accent]Research[] button to research new technology.
hint.research.mobile = Use the \uE875 [accent]Research[] button in the \uE88C [accent]Menu[] to research new technology.
hint.unitControl = Hold [accent][[L-ctrl][] and [accent]click[] to control friendly units or turrets.
hint.unitControl.mobile = [accent][[Double-tap][] to control friendly units or turrets.
hint.launch = Once enough resources are collected, you can [accent]Launch[] by selecting nearby sectors from the \ue827 [accent]Map[] in the bottom right.
hint.launch.mobile = Once enough resources are collected, you can [accent]Launch[] by selecting nearby sectors from the \ue827 [accent]Map[] in the \ue88c [accent]Menu[].
hint.launch = Once enough resources are collected, you can [accent]Launch[] by selecting nearby sectors from the \uE827 [accent]Map[] in the bottom right.
hint.launch.mobile = Once enough resources are collected, you can [accent]Launch[] by selecting nearby sectors from the \uE827 [accent]Map[] in the \uE88C [accent]Menu[].
hint.schematicSelect = Hold [accent][[F][] and drag to select blocks to copy and paste.\n\n[accent][[Middle Click][] to copy a single block type.
hint.conveyorPathfind = Hold [accent][[L-Ctrl][] while dragging conveyors to automatically generate a path.
hint.conveyorPathfind.mobile = Enable \ue844 [accent]diagonal mode[] and drag conveyors to automatically generate a path.
hint.conveyorPathfind.mobile = Enable \uE844 [accent]diagonal mode[] and drag conveyors to automatically generate a path.
hint.boost = Hold [accent][[L-Shift][] to fly over obstacles with your current unit.\n\nOnly a few ground units have boosters.
hint.payloadPickup = Press [accent][[[] to pick up small blocks or units.
hint.payloadPickup.mobile = [accent]Tap and hold[] a small block or unit to pick it up.
hint.payloadDrop = Press [accent]][] to drop a payload.
hint.payloadDrop.mobile = [accent]Tap and hold[] an empty location to drop a payload there.
hint.waveFire = [accent]Wave[] turrets with water as ammunition will automatically put out nearby fires.
hint.generator = \uf879 [accent]Combustion Generators[] burn coal and transmit power to adjacent blocks.\n\nPower transmission range can be extended with \uf87f [accent]Power Nodes[].
hint.guardian = [accent]Guardian[] units are armored. Weak ammo such as [accent]Copper[] and [accent]Lead[] is [scarlet]not effective[].\n\nUse higher tier turrets or \uf835 [accent]Graphite[] \uf861Duo/\uf859Salvo ammunition to take Guardians down.
hint.coreUpgrade = Cores can be upgraded by [accent]placing higher-tier cores over them[].\n\nPlace a  [accent]Foundation[] core over the  [accent]Shard[] core. Make sure it is free from nearby obstructions.
hint.generator = \uF879 [accent]Combustion Generators[] burn coal and transmit power to adjacent blocks.\n\nPower transmission range can be extended with \uF87F [accent]Power Nodes[].
hint.guardian = [accent]Guardian[] units are armored. Weak ammo such as [accent]Copper[] and [accent]Lead[] is [scarlet]not effective[].\n\nUse higher tier turrets or \uF835 [accent]Graphite[] \uF861Duo/\uF859Salvo ammunition to take Guardians down.
hint.coreUpgrade = Cores can be upgraded by [accent]placing higher-tier cores over them[].\n\nPlace a \u00EF\u00A1\u00A8 [accent]Foundation[] core over the \u00EF\u00A1\u00A9 [accent]Shard[] core. Make sure it is free from nearby obstructions.
hint.presetLaunch = Gray [accent]landing zone sectors[], such as [accent]Frozen Forest[], can be launched to from anywhere. They do not require capture of nearby territory.\n\n[accent]Numbered sectors[], such as this one, are [accent]optional[].
hint.presetDifficulty = This sector has a [scarlet]high enemy threat level[].\nLaunching to such sectors is [accent]not recommended[] without proper technology and preparation.
hint.coreIncinerate = After the core is filled to capacity with an item, any extra items of that type it receives will be [accent]incinerated[].
@@ -1536,7 +1539,7 @@ liquid.slag.description = Refined in separators into constituent metals. Consume
liquid.oil.description = Used in advanced material production and as incendiary ammunition.
liquid.cryofluid.description = Used as coolant in reactors, turrets and factories.
block.derelict = \uf77e [lightgray]Derelict
block.derelict = \uF77E [lightgray]Derelict
block.armored-conveyor.description = Moves items forward. Does not accept non-conveyor inputs from the sides.
block.illuminator.description = Emits light.
block.message.description = Stores a message for communication between allies.

View File

@@ -445,6 +445,9 @@ editor.errorheader = Гэты файл карты ня дзейнічае або
editor.errorname = Карта не мае імя. Можа быць, Вы спрабуеце загрузіць захаванне?
editor.update = Абнавіць
editor.randomize = Выпадкова
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Ужыць
editor.generate = Згене- \nраваць
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Този файл с карта е повреден или
editor.errorname = Картата няма зададено име. Да не се опитвате да заредите игра?
editor.update = Обнови
editor.randomize = Случайно
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Приложи
editor.generate = Генерирай
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Tento soubor mapy je buď neplatný nebo poškozen.
editor.errorname = Mapa nemá definované jméno. Nesnažíš se náhodou nahrát soubor s uložením hry?
editor.update = Aktualizovat
editor.randomize = Náhodně vygenerovat
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Aplikovat
editor.generate = Generovat
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = Denne bane er enten ugyldig eller i stykker.
editor.errorname = Banen har ikke noget navn. Forsøger du at gemme filen?
editor.update = Opdater
editor.randomize = Tilfældiggør
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Anvend
editor.generate = Generer
editor.sectorgenerate = Sector Generate

View File

@@ -449,6 +449,9 @@ editor.errorheader = Diese Karte ist entweder nicht gültig oder beschädigt.
editor.errorname = Karte hat keinen Namen.
editor.update = Aktualisieren
editor.randomize = Zufällig anordnen
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Anwenden
editor.generate = Generieren
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Este mapa no es válido o está corrupto.
editor.errorname = El mapa no tiene un nombre definido. ¿Estás intentando cargar un fichero de guardado?
editor.update = Actualizar
editor.randomize = Aleatorizar
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Aplicar
editor.generate = Generación
editor.sectorgenerate = Generación de Sector

View File

@@ -445,6 +445,9 @@ editor.errorheader = See maailmafail on ebasobiv või riknenud.
editor.errorname = Maailma nime pole täpsustatud.
editor.update = Uuenda
editor.randomize = Juhuslikusta
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Kinnita
editor.generate = Genereeri
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = Mapa hau hondatuta dago edo baliogabea da.
editor.errorname = Mapak ez du zehaztutako izenik. Gordetako partida bat kargatzen saiatu zara?
editor.update = Eguneratu
editor.randomize = Ausazkoa
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Aplikatu
editor.generate = Sorrarazi
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = This map file is either not valid or corrupt.
editor.errorname = Map has no name defined. Are you trying to load a save file?
editor.update = Päivitä
editor.randomize = Satunnaista
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Käytä
editor.generate = Generoi
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = Ang file ng mapa na ito ay maaaring hindi wasto o sira.
editor.errorname = Walang tinukoy na pangalan ang mapa. Sinusubukan mo bang mag-load ng save file?
editor.update = Update
editor.randomize = Randomize
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Apply
editor.generate = Generate
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Ce fichier de carte est invalide ou corrompu.
editor.errorname = La carte n'a pas de nom. Essayez-vous de charger une sauvegarde ?
editor.update = Mettre à jour
editor.randomize = Randomiser
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Appliquer
editor.generate = Générer
editor.sectorgenerate = Sector Generate

View File

@@ -449,6 +449,9 @@ editor.errorheader = Ez a map fájl vagy érvénytelen vagy sérült.
editor.errorname = A Mapnak nincs neve. Mentést próbálsz betölteni?
editor.update = Frissítés
editor.randomize = Véletlenszerű
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Alkalmazás
editor.generate = Haladó funkciók
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = File peta ini bisa jadi tidak sah atau rusak.
editor.errorname = Peta tidak ada nama. Apakah Anda mencoba untuk memuat file simpanan?
editor.update = Perbaruan
editor.randomize = Acak
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Terapkan
editor.generate = Generasi
editor.sectorgenerate = Generasi Sektor

View File

@@ -448,6 +448,9 @@ editor.errorheader = Il file di questa mappa non è valido o è corrotto.
editor.errorname = Questa mappa è senza nome. Stai cercando di caricare un salvataggio?
editor.update = Aggiorna
editor.randomize = Casualizza
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Applica
editor.generate = Genera
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = このマップファイルは無効または破損して
editor.errorname = マップに名前が設定されていません。
editor.update = 更新
editor.randomize = ランダム
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = 適用
editor.generate = 生成
editor.sectorgenerate = Sector Generate

View File

@@ -449,6 +449,9 @@ editor.errorheader = 이 맵 파일은 유효하지 않거나 손상되었습니
editor.errorname = 맵에 이름이 지정되어 있지 않습니다. 저장 파일을 불러오려고 시도하는 건가요?
editor.update = 업데이트
editor.randomize = 무작위
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = 적용
editor.generate = 생성
editor.sectorgenerate = 구역 형성

View File

@@ -445,6 +445,9 @@ editor.errorheader = Šis žemėlapis yra netaisyklingas arba sugadintas.
editor.errorname = Šis žemėlapis neturi nustatyto pavadinimo. Ar bandote užkrauti išsaugotą failą?
editor.update = Atnaujinti
editor.randomize = Sumaišyti atsitiktinai
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Taikyti
editor.generate = Generuoti
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = Dit map bestand is niet geldig of heeft en fout.
editor.errorname = Kaart heeft geen naam.
editor.update = Bijwerken
editor.randomize = Willekeurig
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Gebruiken
editor.generate = Genereer
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = This map file is either not valid or corrupt.
editor.errorname = Map has no name defined.
editor.update = Update
editor.randomize = Randomize
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Apply
editor.generate = Generate
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Ten plik mapy jest nieprawidłowy lub uszkodzony.
editor.errorname = Mapa nie zawiera nazwy. Czy próbujesz załadować zapis gry?
editor.update = Aktualizuj
editor.randomize = Losuj
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Zastosuj
editor.generate = Generuj
editor.sectorgenerate = Generuj Sektor

View File

@@ -450,6 +450,9 @@ editor.errorheader = Este arquivo de mapa não é mais válido ou está corrompi
editor.errorname = O mapa não tem nome definido.
editor.update = Atualizar
editor.randomize = Aleatorizar
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Aplicar
editor.generate = Gerar
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = Este ficheiro de mapa não é mais válido ou está corromp
editor.errorname = O mapa não tem nome definido.
editor.update = Atualizar
editor.randomize = Aleatorizar
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Aplicar
editor.generate = Gerar
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Acest fișier de hartă este invalid sau corupf.
editor.errorname = Harta nu are un nume definit. Încerci cumva să încarci un fișier cu o salvare de joc?
editor.update = Update
editor.randomize = Aleatoriu
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Aplică
editor.generate = Generează
editor.sectorgenerate = Sector Generate

View File

@@ -449,6 +449,9 @@ editor.errorheader = Этот файл карты недействителен
editor.errorname = Карта не имеет имени. Может быть, вы пытаетесь загрузить сохранение?
editor.update = Обновить
editor.randomize = Случайно
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Применить
editor.generate = Сгенери-\nровать
editor.sectorgenerate = Генерация сектора

View File

@@ -450,6 +450,9 @@ editor.errorheader = This map file is either not valid or corrupt.
editor.errorname = Map has no name defined. Are you trying to load a save file?
editor.update = Update
editor.randomize = Randomize
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Apply
editor.generate = Generate
editor.sectorgenerate = Sector Generate

View File

@@ -445,6 +445,9 @@ editor.errorheader = This map file is either not valid or corrupt.
editor.errorname = Map has no name defined. Are you trying to load a save file?
editor.update = Uppdatera
editor.randomize = Slumpa
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Verkställ
editor.generate = Generera
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = ไฟล์แมพนี้เสียหรือไ
editor.errorname = แมพไม่มีการกำหนดชื่อ คุณกำลังพยายามโหลดไฟล์เซฟอยู่หรือไม่?
editor.update = อัปเดต
editor.randomize = สุ่ม
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = ใช้
editor.generate = การกำเนิด
editor.sectorgenerate = สร้างเซ็กเตอร์

View File

@@ -445,6 +445,9 @@ editor.errorheader = This map file is either not valid or corrupt.
editor.errorname = Map has no name defined.
editor.update = Update
editor.randomize = Randomize
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Apply
editor.generate = Yarat
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = Bu harita dosyası geçerli değil ya da bozuk.
editor.errorname = Haritanın ismi yok. Bir kayıt dosyası mı yüklemeye çalışıyorsunuz?
editor.update = Güncelle
editor.randomize = Rastgele Yap
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Uygula
editor.generate = Oluştur
editor.sectorgenerate = Sektör Oluştur

View File

@@ -450,6 +450,9 @@ editor.errorheader = Цей файл мапи недійсний або пошк
editor.errorname = Мапа не має назви. Може, ви намагаєтеся завантажити збереження?
editor.update = Оновити
editor.randomize = Випадково
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Застосувати
editor.generate = Згенерувати
editor.sectorgenerate = Згенерувати сектор

View File

@@ -450,6 +450,9 @@ editor.errorheader = Tệp bản đồ này không hợp lệ hoặc bị hỏng
editor.errorname = Bản đồ không có tên được xác định. Bạn đang cố gắng tải một bản lưu?
editor.update = Cập nhật
editor.randomize = Ngẫu nhiên
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = Áp dụng
editor.generate = Tạo ra
editor.sectorgenerate = Sector Generate

View File

@@ -450,6 +450,9 @@ editor.errorheader = 此地图文件无效或已损坏。
editor.errorname = 地图没有定义名称。 加载的可能是存档文件?
editor.update = 更新
editor.randomize = 重新生成
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = 应用
editor.generate = 自动生成
editor.sectorgenerate = 区块生成

View File

@@ -450,6 +450,9 @@ editor.errorheader = 此地圖檔無效或已損毀。
editor.errorname = 地圖沒有定義名稱。
editor.update = 更新
editor.randomize = 隨機化
editor.moveup = Move Up
editor.movedown = Move Down
editor.copy = Copy
editor.apply = 使用
editor.generate = 產生
editor.sectorgenerate = 產生地區

View File

@@ -268,30 +268,42 @@ public class MapGenerateDialog extends BaseDialog{
t.add().growX();
ImageButtonStyle style = Styles.geni;
t.defaults().size(42f);
t.defaults().size(42f).padLeft(-5f);
t.button(Icon.refresh, style, () -> {
filter.randomize();
update();
});
}).padLeft(-16f).tooltip("@editor.randomize");
t.button(Icon.upOpen, style, () -> {
int idx = filters.indexOf(filter);
filters.swap(idx, Math.max(0, idx - 1));
if(filter != filters.first()){
t.button(Icon.upOpen, style, () -> {
int idx = filters.indexOf(filter);
filters.swap(idx, Math.max(0, idx - 1));
rebuildFilters();
update();
}).tooltip("@editor.moveup");
}
if(filter != filters.peek()){
t.button(Icon.downOpen, style, () -> {
int idx = filters.indexOf(filter);
filters.swap(idx, Math.min(filters.size - 1, idx + 1));
rebuildFilters();
update();
}).tooltip("@editor.movedown");
}
t.button(Icon.copy, style, () -> {
filters.insert(filters.indexOf(filter), filter);
rebuildFilters();
update();
});
t.button(Icon.downOpen, style, () -> {
int idx = filters.indexOf(filter);
filters.swap(idx, Math.min(filters.size - 1, idx + 1));
rebuildFilters();
update();
});
}).tooltip("@editor.copy");
t.button(Icon.cancel, style, () -> {
filters.remove(filter);
rebuildFilters();
update();
});
}).tooltip("@waves.remove");
}).growX();
c.row();

View File

@@ -67,7 +67,7 @@ public class LogicDialog extends BaseDialog{
dialog.show();
}).name("edit");
if(mobile && !Core.graphics.isPortrait()) buttons.row();
if(Core.graphics.isPortrait()) buttons.row();
buttons.button("@variables", Icon.menu, () -> {
BaseDialog dialog = new BaseDialog("@variables");

View File

@@ -105,21 +105,24 @@ public abstract class FilterOption{
public void build(Table table){
table.button(b -> b.image(supplier.get().uiIcon).update(i -> ((TextureRegionDrawable)i.getDrawable())
.setRegion(supplier.get() == Blocks.air ? Icon.none.getRegion() : supplier.get().uiIcon)).size(iconSmall), () -> {
BaseDialog dialog = new BaseDialog("");
BaseDialog dialog = new BaseDialog("@filter.option." + name);
dialog.setFillParent(false);
int i = 0;
for(Block block : Vars.content.blocks()){
if(!filter.get(block)) continue;
dialog.cont.pane(t -> {
int i = 0;
for(Block block : Vars.content.blocks()){
if(!filter.get(block)) continue;
dialog.cont.image(block == Blocks.air ? Icon.none.getRegion() : block.uiIcon).size(iconMed).pad(3).get().clicked(() -> {
consumer.get(block);
dialog.hide();
changed.run();
});
if(++i % 10 == 0) dialog.cont.row();
}
t.image(block == Blocks.air ? Icon.none.getRegion() : block.uiIcon).size(iconMed).pad(3).tooltip(block == Blocks.air ? "@none" : block.localizedName).get().clicked(() -> {
consumer.get(block);
dialog.hide();
changed.run();
});
if(++i % 10 == 0) t.row();
}
});
dialog.closeOnBack();
dialog.addCloseButton();
dialog.show();
}).pad(4).margin(12f);