Formatting Icons (#10359)
* formatIcons
* Smarter end check
I think it's smarter?
* unecessary
* oop
* Update UI.java
* Just don't check for adjacent colons.
The hasUnicodeStr already checks for validity
* Copy from I18NBundle
* Revert "Copy from I18NBundle"
This reverts commit ac660fcd9f.
* If get and format refer to parent, then just set the existing bundle as parent
* Test with Ground Zero objectives
* Update MBundle.java
* That didn't work
* Slip the method into reasonable places like objectives and chat
* Check for Icons as well
* More testing with objective text
* Apply to hints
* Optimized formatIcons
No longer scans through every character
* TIME UPDATE THE BUNDLES YIPPEEEEEEEEEEE
* residual
* Apply to message blocks
* IntelliJ lied
* Suggestions
* Format before sending
This commit is contained in:
@@ -1942,77 +1942,77 @@ hint.respawn = Uudelleensyntyäksesi aluksena, paina näppäintä [accent][[V][]
|
||||
hint.respawn.mobile = Olet siirtynyt hallitsemaan yksikköä/rakennusta. Uudelleensyntyäksesi aluksena, [accent]paina avataria ylhäällä vasemmalla.[]
|
||||
hint.desktopPause = Paina [accent][[Välilyöntiä][] pysäyttääksesi ja jatkaaksesi peliä.
|
||||
hint.breaking = Paina [accent]Hiiren oikea[] ja vedä rikkoaksesi palikoita.
|
||||
hint.breaking.mobile = Aktivoi \ue817 [accent]vasara[] alhaalla oikealla ja kosketa rikkoaksesi palikoita.\n\nPidä sormeasi pohjassa hetki ja vedä poistaaksesi valinnalla.
|
||||
hint.breaking.mobile = Aktivoi :hammer: [accent]vasara[] alhaalla oikealla ja kosketa rikkoaksesi palikoita.\n\nPidä sormeasi pohjassa hetki ja vedä poistaaksesi valinnalla.
|
||||
hint.blockInfo = Näytä tietoa palikasta valitsemalla se [accent]rakennusvalikossa[], ja painamalla sitten [accent][[?][]-nappia oikella.
|
||||
hint.derelict = [accent]Hylky[]-rakennukset ovat hajonneita jäännöksiä vanhoista tukikohdista, jotka eivät enää toimi.\n\nNämä rakennukset on mahdollista [accent]purkaa[] resurssien saamiseksi.
|
||||
hint.research = Käytä \ue875 [accent]Tutki[]-nappia tutkiaksesi uutta teknologiaa.
|
||||
hint.research.mobile = Käytä \ue875 [accent]Tutki[]-nappia \ue88c[accent]Valikossa[] tutkiaksesi uutta teknologiaa.
|
||||
hint.research = Käytä :tree: [accent]Tutki[]-nappia tutkiaksesi uutta teknologiaa.
|
||||
hint.research.mobile = Käytä :tree: [accent]Tutki[]-nappia :menu:[accent]Valikossa[] tutkiaksesi uutta teknologiaa.
|
||||
hint.unitControl = Pidä pohjassa [accent][[Vasen ctrl][] ja [accent]klikkaa[] hallitaksesi ystävällisiä yksikköjä tai rakennuksia.
|
||||
hint.unitControl.mobile = [accent][[Kaksoisklikkaa][] hallitaksesi ystävällisiä yksikköjä tai rakennuksia.
|
||||
hint.unitSelectControl = To control units, enter [accent]command mode[] by holding [accent]L-shift.[]\nWhile in command mode, click and drag to select units. [accent]Right-click[] a location or target to command units there.
|
||||
hint.unitSelectControl.mobile = To control units, enter [accent]command mode[] by pressing the [accent]command[] button in the bottom left.\nWhile in command mode, long-press and drag to select units. Tap a location or target to command units there.
|
||||
hint.launch = Kun olet kerännyt riittävästi resursseja, voit [accent]Laukaista[] valitsemalla läheisen sektorin \ue827[accent]Kartasta[] alhaalla oikealla.
|
||||
hint.launch.mobile = Kun olet kerännyt riittävästi resursseja, voit [accent]Laukaista[] valitsemalla läheisen sektorin \ue827[accent]Kartasta[], joka löytyy \ue88c[accent]Valikosta[].
|
||||
hint.launch = Kun olet kerännyt riittävästi resursseja, voit [accent]Laukaista[] valitsemalla läheisen sektorin :map:[accent]Kartasta[] alhaalla oikealla.
|
||||
hint.launch.mobile = Kun olet kerännyt riittävästi resursseja, voit [accent]Laukaista[] valitsemalla läheisen sektorin :map:[accent]Kartasta[], joka löytyy :menu:[accent]Valikosta[].
|
||||
hint.schematicSelect = Pidä näppäintä [accent][[F][] pohjassa ja vedä valitaksesi palikoita kopioitavaksi ja liitettäväksi.\n\n[accent] Paina [[Hiiren keskinäppäin][] kopioidaksesi yksittäisen palikan.
|
||||
hint.rebuildSelect = Hold [accent][[B][] and drag to select destroyed block plans.\nThis will rebuild them automatically.
|
||||
hint.rebuildSelect.mobile = Select the \ue874 copy button, then tap the \ue80f rebuild button and drag to select destroyed block plans.\nThis will rebuild them automatically.
|
||||
hint.rebuildSelect.mobile = Select the :copy: copy button, then tap the :wrench: rebuild button and drag to select destroyed block plans.\nThis will rebuild them automatically.
|
||||
hint.conveyorPathfind = Pidä näppäintä [accent][[Vasen ctrl][] pohjassa, kun vedät liukuhihnoja luodaksesi polun automaattisesti.
|
||||
hint.conveyorPathfind.mobile = Salli \ue844[accent]Viisto tila[] ja vedä liukuhihnoja luodaksesi polun automaattisesti.
|
||||
hint.conveyorPathfind.mobile = Salli :diagonal:[accent]Viisto tila[] ja vedä liukuhihnoja luodaksesi polun automaattisesti.
|
||||
hint.boost = Pidä [accent][[Vasen shift][] pohjassa lentääksesi esteiden yli yksikölläsi.\n\nVain harvoilla maajoukoilla on tehostin.
|
||||
hint.payloadPickup = Paina näppäintä [accent][[[] lastataksesi pieniä palikoita ja joukkoja.
|
||||
hint.payloadPickup.mobile = [accent]Paina ja pidä pohjassa[] pientä palikkaa tai yksikköä lastataksesi sen.
|
||||
hint.payloadDrop = Paina [accent]][] pudottaaksesi lastin.
|
||||
hint.payloadDrop.mobile = [accent]Paina ja pidä pohjassa[] tyhjässä kohdassa pudottaaksesi lastin sinne.
|
||||
hint.waveFire = [accent]Aalto[]-tykit, jotka on ladattu vedellä, sammuttavat kantamalla olevia tulipaloja automaattisesti.
|
||||
hint.generator = \uf879 [accent]Aggregaatit[] polttavat hiiltä ja lähettävät energiaa viereisille palikoille.\n\nEnergiansiirtokantamaa voi laajentaa \uf87f[accent]Sähkötolpilla[].
|
||||
hint.guardian = [accent]Vartija[]yksiköt ovat haarniskoituja. Heikot ammukset kuten [accent]kupari[] ja [accent]lyijy[][scarlet]eivät ole tehokkaita[].\n\nKäytä korkeamman tason tykkejä tai \uf835[accent]Grafiittia[] \uf861Duon/\uf859Salvon ammuksena voittaaksesi vartijan.
|
||||
hint.coreUpgrade = Ytimen voi päivittää [accent]sijoittamalla suuremman tason ytimen niiden päälle[].\n\nSijoita \uf868[accent]Pohjaus[]-ydin \uf869[accent]Siru[]-ytimen päälle. Varmista, että tiellä ei ole esteitä.
|
||||
hint.generator = :combustion-generator: [accent]Aggregaatit[] polttavat hiiltä ja lähettävät energiaa viereisille palikoille.\n\nEnergiansiirtokantamaa voi laajentaa :power-node:[accent]Sähkötolpilla[].
|
||||
hint.guardian = [accent]Vartija[]yksiköt ovat haarniskoituja. Heikot ammukset kuten [accent]kupari[] ja [accent]lyijy[][scarlet]eivät ole tehokkaita[].\n\nKäytä korkeamman tason tykkejä tai :graphite:[accent]Grafiittia[] :duo:Duon/:salvo:Salvon ammuksena voittaaksesi vartijan.
|
||||
hint.coreUpgrade = Ytimen voi päivittää [accent]sijoittamalla suuremman tason ytimen niiden päälle[].\n\nSijoita :core-foundation:[accent]Pohjaus[]-ydin :core-shard:[accent]Siru[]-ytimen päälle. Varmista, että tiellä ei ole esteitä.
|
||||
hint.presetLaunch = Harmaisiin [accent]laskeutumisaluesektoreihin[], kuten [accent]Jäätyneisiin metsiin[], voi laukaista kaikkialta. Ne eivät vaadi valtausta tai läheistä aluetta.\n\n[accent]Numeroidut sektorit[], kuten tämä, ovat [accent]valinnaisia[].
|
||||
hint.presetDifficulty = Tässä sektorissa on [scarlet]korkea uhkataso[].\nLaukaiseminen korkean uhkatason sektoreihin [accent]ei ole suositeltua[] ilman asianmukaista teknologiaa ja valmistautumista.
|
||||
hint.coreIncinerate = Kun ydin on täynnä tiettyä tavaraa, ylimääräinen samanlainen tavara, joa tulee ytimeen, [accent]höyrystetään[].
|
||||
hint.factoryControl = To set a unit factory's [accent]output destination[], click a factory block while in command mode, then right-click a location.\nUnits produced by it will automatically move there.
|
||||
hint.factoryControl.mobile = To set a unit factory's [accent]output destination[], tap a factory block while in command mode, then tap a location.\nUnits produced by it will automatically move there.
|
||||
gz.mine = Move near the \uf8c4 [accent]copper ore[] on the ground and click to begin mining.
|
||||
gz.mine.mobile = Move near the \uf8c4 [accent]copper ore[] on the ground and tap it to begin mining.
|
||||
gz.research = Open the \ue875 tech tree.\nResearch the \uf870 [accent]Mechanical Drill[], then select it from the menu in the bottom right.\nClick on a copper patch to place it.
|
||||
gz.research.mobile = Open the \ue875 tech tree.\nResearch the \uf870 [accent]Mechanical Drill[], then select it from the menu in the bottom right.\nTap on a copper patch to place it.\n\nPress the \ue800 [accent]checkmark[] at the bottom right to confirm.
|
||||
gz.conveyors = Research and place \uf896 [accent]conveyors[] to move the mined resources\nfrom drills to the core.\n\nClick and drag to place multiple conveyors.\n[accent]Scroll[] to rotate.
|
||||
gz.conveyors.mobile = Research and place \uf896 [accent]conveyors[] to move the mined resources\nfrom drills to the core.\n\nHold down your finger for a second and drag to place multiple conveyors.
|
||||
gz.mine = Move near the :ore-copper: [accent]copper ore[] on the ground and click to begin mining.
|
||||
gz.mine.mobile = Move near the :ore-copper: [accent]copper ore[] on the ground and tap it to begin mining.
|
||||
gz.research = Open the :tree: tech tree.\nResearch the :mechanical-drill: [accent]Mechanical Drill[], then select it from the menu in the bottom right.\nClick on a copper patch to place it.
|
||||
gz.research.mobile = Open the :tree: tech tree.\nResearch the :mechanical-drill: [accent]Mechanical Drill[], then select it from the menu in the bottom right.\nTap on a copper patch to place it.\n\nPress the \ue800 [accent]checkmark[] at the bottom right to confirm.
|
||||
gz.conveyors = Research and place :conveyor: [accent]conveyors[] to move the mined resources\nfrom drills to the core.\n\nClick and drag to place multiple conveyors.\n[accent]Scroll[] to rotate.
|
||||
gz.conveyors.mobile = Research and place :conveyor: [accent]conveyors[] to move the mined resources\nfrom drills to the core.\n\nHold down your finger for a second and drag to place multiple conveyors.
|
||||
gz.drills = Expand the mining operation.\nPlace more Mechanical Drills.\nMine 100 copper.
|
||||
gz.lead = \uf837 [accent]Lead[] is another commonly used resource.\nSet up drills to mine lead.
|
||||
gz.moveup = \ue804 Move up for further objectives.
|
||||
gz.turrets = Research and place 2 \uf861 [accent]Duo[] turrets to defend the core.\nDuo turrets require \uf838 [accent]ammo[] from conveyors.
|
||||
gz.lead = :lead: [accent]Lead[] is another commonly used resource.\nSet up drills to mine lead.
|
||||
gz.moveup = :up: Move up for further objectives.
|
||||
gz.turrets = Research and place 2 :duo: [accent]Duo[] turrets to defend the core.\nDuo turrets require \uf838 [accent]ammo[] from conveyors.
|
||||
gz.duoammo = Supply the Duo turrets with [accent]copper[], using conveyors.
|
||||
gz.walls = [accent]Walls[] can prevent oncoming damage from reaching buildings.\nPlace \uf8ae [accent]copper walls[] around the turrets.
|
||||
gz.walls = [accent]Walls[] can prevent oncoming damage from reaching buildings.\nPlace :copper-wall: [accent]copper walls[] around the turrets.
|
||||
gz.defend = Enemy incoming, prepare to defend.
|
||||
gz.aa = Flying units cannot easily be dispatched with standard turrets.\n\uf860 [accent]Scatter[] turrets provide excellent anti-air, but require \uf837 [accent]lead[] as ammo.
|
||||
gz.aa = Flying units cannot easily be dispatched with standard turrets.\n:scatter: [accent]Scatter[] turrets provide excellent anti-air, but require :lead: [accent]lead[] as ammo.
|
||||
gz.scatterammo = Supply the Scatter turret with [accent]lead[], using conveyors.
|
||||
gz.supplyturret = [accent]Supply Turret
|
||||
gz.zone1 = This is the enemy drop zone.
|
||||
gz.zone2 = Anything built in the radius is destroyed when a wave starts.
|
||||
gz.zone3 = A wave will begin now.\nGet ready.
|
||||
gz.finish = Build more turrets, mine more resources,\nand defend against all the waves to [accent]capture the sector[].
|
||||
onset.mine = Click to mine \uf748 [accent]beryllium[] from walls.\n\nUse [accent][[WASD] to move.
|
||||
onset.mine.mobile = Tap to mine \uf748 [accent]beryllium[] from walls.
|
||||
onset.research = Open the \ue875 tech tree.\nResearch, then place a \uf73e [accent]turbine condenser[] on the vent.\nThis will generate [accent]power[].
|
||||
onset.bore = Research and place a \uf741 [accent]plasma bore[].\nThis automatically mines resources from walls.
|
||||
onset.power = To [accent]power[] the plasma bore, research and place a \uf73d [accent]beam node[].\nConnect the turbine condenser to the plasma bore.
|
||||
onset.ducts = Research and place \uf799 [accent]ducts[] to move the mined resources from the plasma bore to the core.\nClick and drag to place multiple ducts.\n[accent]Scroll[] to rotate.
|
||||
onset.ducts.mobile = Research and place \uf799 [accent]ducts[] to move the mined resources from the plasma bore to the core.\n\nHold down your finger for a second and drag to place multiple ducts.
|
||||
onset.mine = Click to mine :beryllium: [accent]beryllium[] from walls.\n\nUse [accent][[WASD] to move.
|
||||
onset.mine.mobile = Tap to mine :beryllium: [accent]beryllium[] from walls.
|
||||
onset.research = Open the :tree: tech tree.\nResearch, then place a :turbine-condenser: [accent]turbine condenser[] on the vent.\nThis will generate [accent]power[].
|
||||
onset.bore = Research and place a :plasma-bore: [accent]plasma bore[].\nThis automatically mines resources from walls.
|
||||
onset.power = To [accent]power[] the plasma bore, research and place a :beam-node: [accent]beam node[].\nConnect the turbine condenser to the plasma bore.
|
||||
onset.ducts = Research and place :duct: [accent]ducts[] to move the mined resources from the plasma bore to the core.\nClick and drag to place multiple ducts.\n[accent]Scroll[] to rotate.
|
||||
onset.ducts.mobile = Research and place :duct: [accent]ducts[] to move the mined resources from the plasma bore to the core.\n\nHold down your finger for a second and drag to place multiple ducts.
|
||||
onset.moremine = Expand the mining operation.\nPlace more Plasma Bores and use beam nodes and ducts to support them.\nMine 200 beryllium.
|
||||
onset.graphite = More complex blocks require \uf835 [accent]graphite[].\nSet up plasma bores to mine graphite.
|
||||
onset.research2 = Begin researching [accent]factories[].\nResearch the \uf74d [accent]cliff crusher[] and \uf779 [accent]silicon arc furnace[].
|
||||
onset.arcfurnace = The arc furnace needs \uf834 [accent]sand[] and \uf835 [accent]graphite[] to create \uf82f [accent]silicon[].\n[accent]Power[] is also required.
|
||||
onset.crusher = Use \uf74d [accent]cliff crushers[] to mine sand.
|
||||
onset.fabricator = Use [accent]units[] to explore the map, defend buildings, and attack the enemy. Research and place a \uf6a2 [accent]tank fabricator[].
|
||||
onset.graphite = More complex blocks require :graphite: [accent]graphite[].\nSet up plasma bores to mine graphite.
|
||||
onset.research2 = Begin researching [accent]factories[].\nResearch the :cliff-crusher: [accent]cliff crusher[] and :silicon-arc-furnace: [accent]silicon arc furnace[].
|
||||
onset.arcfurnace = The arc furnace needs :sand: [accent]sand[] and :graphite: [accent]graphite[] to create :silicon: [accent]silicon[].\n[accent]Power[] is also required.
|
||||
onset.crusher = Use :cliff-crusher: [accent]cliff crushers[] to mine sand.
|
||||
onset.fabricator = Use [accent]units[] to explore the map, defend buildings, and attack the enemy. Research and place a :tank-fabricator: [accent]tank fabricator[].
|
||||
onset.makeunit = Produce a unit.\nUse the "?" button to see selected factory requirements.
|
||||
onset.turrets = Units are effective, but [accent]turrets[] provide better defensive capabilities if used effectively.\nPlace a \uf6eb [accent]Breach[] turret.\nTurrets require \uf748 [accent]ammo[].
|
||||
onset.turrets = Units are effective, but [accent]turrets[] provide better defensive capabilities if used effectively.\nPlace a :breach: [accent]Breach[] turret.\nTurrets require :beryllium: [accent]ammo[].
|
||||
onset.turretammo = Supply the turret with [accent]beryllium ammo.[]
|
||||
onset.walls = [accent]Walls[] can prevent oncoming damage from reaching buildings.\nPlace some \uf6ee [accent]beryllium walls[] around the turret.
|
||||
onset.walls = [accent]Walls[] can prevent oncoming damage from reaching buildings.\nPlace some :beryllium-wall: [accent]beryllium walls[] around the turret.
|
||||
onset.enemies = Enemy incoming, prepare to defend.
|
||||
onset.defenses = [accent]Set up defenses:[lightgray] {0}
|
||||
onset.attack = The enemy is vulnerable. Counter-attack.
|
||||
onset.cores = New cores can be placed on [accent]core tiles[].\nNew cores function as forward bases and share a resource inventory with other cores.\nPlace a \uf725 core.
|
||||
onset.cores = New cores can be placed on [accent]core tiles[].\nNew cores function as forward bases and share a resource inventory with other cores.\nPlace a :core-bastion: core.
|
||||
onset.detect = The enemy will be able to detect you in 2 minutes.\nSet up defenses, mining, and production.
|
||||
onset.commandmode = Hold [accent]shift[] to enter [accent]command mode[].\n[accent]Left-click and drag[] to select units.\n[accent]Right-click[] to order selected units to move or attack.
|
||||
onset.commandmode.mobile = Press the [accent]command button[] to enter [accent]command mode[].\nHold down a finger, then [accent]drag[] to select units.\n[accent]Tap[] to order selected units to move or attack.
|
||||
|
||||
Reference in New Issue
Block a user