Skip to content

Commit

Permalink
Schematic Browser Part 2 (tags, refetch)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbxte committed Jan 1, 2024
1 parent 2b2606d commit 745ef81
Show file tree
Hide file tree
Showing 5 changed files with 315 additions and 88 deletions.
7 changes: 6 additions & 1 deletion core/assets/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,15 @@ schematic.tagexists = That tag already exists.
schematic.chatsharemessage = {0} [white]has shared a schematic. Click here to download.
schematic.browser = Schematic Browser
schematic.browser.repo = Schematic Repositories
schematic.browser.search = Search Repositories
schematic.browser.add = Add Repo
schematic.browser.edit = Edit Repository Link
schematic.browser.download = Download schematic
schematic.browser.fetch = Fetch
schematic.browser.fetched = Fetched {0}
schematic.browser.fetching = Fetching schematic repositories...
schematic.browser.fail.fetch = Failed to fetch {0}
schematic.browser.fail.parse = Failed to parse {0} {1}
schematic.browser.togglevisibility = Toggle visibility

stats = Stats
stats.wave = Waves Defeated
Expand Down
1 change: 0 additions & 1 deletion core/assets/bundles/bundle_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ schematic.tagexists = 此标签已经存在。
schematic.chatsharemessage = {0} [white]分享了一张蓝图. 点击此处以下载.
schematic.browser = 蓝图浏览器
schematic.browser.repo = 蓝图库
schematic.browser.search = 搜索库
schematic.browser.add = 添加库
schematic.browser.edit = 编辑库的链接
schematic.browser.download = 下载蓝图
Expand Down
4 changes: 2 additions & 2 deletions core/src/mindustry/core/UI.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class UI implements ApplicationListener, Loadable{
public PlanetDialog planet;
public ResearchDialog research;
public SchematicsDialog schematics;
public SchematicBrowserDialog schematicsBrowser;
public SchematicBrowserDialog schematicBrowser;
public ModsDialog mods;
public ColorPicker picker;
public EffectsDialog effects;
Expand Down Expand Up @@ -231,7 +231,7 @@ public void init(){
research = new ResearchDialog();
mods = new ModsDialog();
schematics = new SchematicsDialog();
schematicsBrowser = new SchematicBrowserDialog();
schematicBrowser = new SchematicBrowserDialog();
logic = new LogicDialog();
fullText = new FullTextDialog();
campaignComplete = new CampaignCompleteDialog();
Expand Down
Loading

0 comments on commit 745ef81

Please sign in to comment.