Improve various interface texts and labels

This commit is contained in:
JannisX11 2021-07-05 22:59:05 +02:00
parent 3a72623718
commit d221059eab
3 changed files with 7 additions and 6 deletions

View File

@ -355,7 +355,7 @@
</dialog>
<dialog class="dialog draggable paddinged" id="settings">
<div class="dialog_handle tl">dialog.settings.settings</div>
<div class="dialog_handle tl">menu.file.preferences</div>
<div class="dialog_bar borderless tab_bar" id="settings_tab_bar">
<div class="tl tab open" id="setting" onclick="setSettingsTab('setting')">dialog.settings.settings</div>
<div class="tl tab" id="keybindings" onclick="setSettingsTab('keybindings')">dialog.settings.keybinds</div>
@ -499,7 +499,7 @@
<p><b class="tl">about.version</b> <span id="version_tag"></span></p>
<p><b class="tl">about.creator</b> JannisX11</p>
<p><b class="tl">about.website</b> <a class="open-in-browser" href="https://blockbench.net">blockbench.net</a></p>
<p><b class="tl">about.bugtracker</b> <a class="open-in-browser" href="https://github.com/JannisX11/blockbench/issues">github.com/JannisX11/blockbench</a></p>
<p><b class="tl">about.repository</b> <a class="open-in-browser" href="https://github.com/JannisX11/blockbench">github.com/JannisX11/blockbench</a></p>
<p class="local_only tl">about.electron</p>
<p class="tl">about.vertex_snap</p>
<p><b class="tl">about.icons</b> <a href="https://material.io/icons/" class="open-in-browser">material.io/icons</a> &amp; <a href="https://fontawesome.io/icons/" class="open-in-browser">fontawesome</a></p>

View File

@ -197,7 +197,6 @@ const Settings = {
new Setting('ctrl_size', {category: 'snapping', value: 160, type: 'number'});
new Setting('ctrl_shift_size', {category: 'snapping', value: 640, type: 'number'});
new Setting('negative_size',{category: 'snapping', value: false});
new Setting('animation_snap',{category: 'snapping', value: 24, type: 'number'});
//Paint
new Setting('sync_color', {category: 'paint', value: false});
@ -218,6 +217,7 @@ const Settings = {
new Setting('autouv', {category: 'defaults', value: true});
new Setting('create_rename', {category: 'defaults', value: false});
new Setting('default_path', {category: 'defaults', value: false, type: 'click', condition: isApp, icon: 'burst_mode', click: function() { openDefaultTexturePath() }});
new Setting('animation_snap',{category: 'defaults', value: 24, type: 'number'});
//Dialogs
new Setting('dialog_larger_cubes', {category: 'dialogs', value: true});

View File

@ -428,6 +428,7 @@
"dialog.export_private_settings.keep": "Keep",
"dialog.export_private_settings.remove": "Remove",
"dialog.settings.title": "Preferences",
"dialog.settings.settings": "Settings",
"dialog.settings.keybinds": "Keybindings",
"dialog.settings.theme": "Theme",
@ -481,7 +482,7 @@
"about.version.update_available": "Version %0 is available",
"about.creator": "Creator:",
"about.website": "Website:",
"about.bugtracker": "Bug Tracker:",
"about.repository": "Repository:",
"about.electron": "This app is built with Electron, a framework for creating native applications with web technologies like Javascript, HTML, and CSS.",
"about.vertex_snap": "Vertex Snapping is based on a plugin by SirBenet",
"about.icons": "Icon Packs:",
@ -580,6 +581,8 @@
"settings.autouv.desc": "Enable Auto UV by default",
"settings.create_rename": "Rename New Cube",
"settings.create_rename.desc": "Focus name field when creating new element or group",
"settings.animation_snap": "Animation Snap",
"settings.animation_snap.desc": "Default snap interval for keyframes in the animation timeline in steps per second",
"settings.edit_size": "Grid Resolution",
"settings.edit_size.desc": "Resolution of the grid that cubes snap to",
@ -591,8 +594,6 @@
"settings.ctrl_shift_size.desc": "Resolution of the grid while holding control and shift",
"settings.negative_size": "Negative Size",
"settings.negative_size.desc": "Allow the resize tool to use negative sizes",
"settings.animation_snap": "Animation Snap",
"settings.animation_snap.desc": "Snap interval for keyframes in the animation timeline in steps per second",
"settings.sync_color": "Sync Color",
"settings.sync_color.desc": "Synchronize the color between different Blockbench instances",