another font fix

This commit is contained in:
minjaesong
2022-03-22 17:08:47 +09:00
parent 78869fc84f
commit de45ad1c25
4 changed files with 44 additions and 45 deletions

Binary file not shown.

View File

@@ -510,52 +510,51 @@ public class CSVEditor extends JFrame {
} }
} }
private String captionProperties = // dummy string to make IDE happy with the auto indent
"" + // dummy string to make IDE happy with the auto indent private String captionProperties = """
"id=ID of this block\n" + id=ID of this block
"drop=Which item the DroppedItem actually adds to your inventory\n" + drop=Which item the DroppedItem actually adds to your inventory
"world=Which item the DroppedItem should impersonate when spawned\n" + world=Which item the DroppedItem should impersonate when spawned
"name=String identifier of the block\n" + name=String identifier of the block
"shdr=Shade Red (light absorption). Valid range 0.01.0+\n" + shdr=Shade Red (light absorption). Valid range 0.01.0+
"shdg=Shade Green (light absorption). Valid range 0.01.0+\n" + shdg=Shade Green (light absorption). Valid range 0.01.0+
"shdb=Shade Blue (light absorption). Valid range 0.01.0+\n" + shdb=Shade Blue (light absorption). Valid range 0.01.0+
"shduv=Shade UV (light absorbtion). Valid range 0.01.0+\n" + shduv=Shade UV (light absorbtion). Valid range 0.01.0+
"lumr=Luminosity Red (light intensity). Valid range 0.01.0+\n" + lumr=Luminosity Red (light intensity). Valid range 0.01.0+
"lumg=Luminosity Green (light intensity). Valid range 0.01.0+\n" + lumg=Luminosity Green (light intensity). Valid range 0.01.0+
"lumb=Luminosity Blue (light intensity). Valid range 0.01.0+\n" + lumb=Luminosity Blue (light intensity). Valid range 0.01.0+
"lumuv=Luminosity UV (light intensity). Valid range 0.01.0+\n" + lumuv=Luminosity UV (light intensity). Valid range 0.01.0+
"str=Strength of the block\n" + str=Strength of the block
"dsty=Density of the block. Water have 1000 in the in-game scale\n" + dsty=Density of the block. Water have 1000 in the in-game scale
"mate=Material of the block\n" + mate=Material of the block
"solid=Whether the file has full collision\n" + solid=Whether the file has full collision
"plat=Whether the block should behave like a platform\n" + plat=Whether the block should behave like a platform
"wall=Whether the block can be used as a wall\n" + wall=Whether the block can be used as a wall
"grav=Whether the block should fall through the empty space. N/A to not make it fall; 0 to fall immediately (e.g. Sand), nonzero to indicate that number of floating blocks can be supported (e.g. Scaffolding)\n" + grav=Whether the block should fall through the empty space. N/A to not make it fall; 0 to fall immediately (e.g. Sand), nonzero to indicate that number of floating blocks can be supported (e.g. Scaffolding)
"dlfn=Dynamic Light Function. 0=Static. Please see <strong>notes</strong>\n" + dlfn=Dynamic Light Function. 0=Static. Please see <strong>notes</strong>
"fv=Vertical friction when player slide on the cliff. 0 means not slide-able\n" + fv=Vertical friction when player slide on the cliff. 0 means not slide-able
"fr=Horizontal friction. &lt;16:slippery 16:regular &gt;16:sticky\n" + fr=Horizontal friction. &lt;16:slippery 16:regular &gt;16:sticky
"colour=[Fluids] Colour of the block in hexadecimal RGBA.\n" + colour=[Fluids] Colour of the block in hexadecimal RGBA.
"vscs=[Fluids] Viscocity of the block. 16 for water.\n" + vscs=[Fluids] Viscocity of the block. 16 for water.
"refl=[NOT Fluids] Reflectance of the block, used by the light calculation. Valid range 0.01.0\n" + refl=[NOT Fluids] Reflectance of the block, used by the light calculation. Valid range 0.01.0
"tags=Tags used by the crafting system\n"; tags=Tags used by the crafting system""";
/** /**
* ¤ is used as a \n marker * ¤ is used as a \n marker
*/ */
private String translations = private String translations = """
"" + WARNING_CONTINUE=Continue?
"WARNING_CONTINUE=Continue?\n" + WARNING_YOUR_DATA_WILL_GONE=Existing edits will be lost.
"WARNING_YOUR_DATA_WILL_GONE=Existing edits will be lost.\n" + OPERATION_CANCELLED=Operation cancelled.
"OPERATION_CANCELLED=Operation cancelled.\n" + NO_SUCH_FILE=No such file exists, operation cancelled.
"NO_SUCH_FILE=No such file exists, operation cancelled.\n" + NEW_ROWS=Enter the number of rows to initialise the new CSV.¤Remember, you can always add or delete rows later.
"NEW_ROWS=Enter the number of rows to initialise the new CSV.¤Remember, you can always add or delete rows later.\n" + ADD_ROWS=Enter the number of rows to add:
"ADD_ROWS=Enter the number of rows to add:\n" + WRITE_FAIL=Writing to file has failed:
"WRITE_FAIL=Writing to file has failed:\n" + STAT_INIT=Creating a new CSV. You can still open existing file.
"STAT_INIT=Creating a new CSV. You can still open existing file.\n" + STAT_SAVE_SUCCESSFUL=File saved successfully.
"STAT_SAVE_SUCCESSFUL=File saved successfully.\n" + STAT_NEW_FILE=New CSV created.
"STAT_NEW_FILE=New CSV created.\n" + STAT_LOAD_SUCCESSFUL=File loaded successfully.
"STAT_LOAD_SUCCESSFUL=File loaded successfully.\n" + ERROR_INTERNAL=Something went wrong.""";
"ERROR_INTERNAL=Something went wrong.\n";
} }
class OptionSize { class OptionSize {