Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 10fe00e

Browse files
committed
add instructions for import/export and other small tweaks
1 parent 86a5360 commit 10fe00e

File tree

2 files changed

+46
-8
lines changed

2 files changed

+46
-8
lines changed

Localizations/Neuron_X-enUS.lua

+18-2
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,21 @@ L["Profile"] = true
530530
L["Import"] = true
531531
L["Export"] = true
532532
L["Import or Export the current profile:"] = true
533-
L["ImportExport_Desc"] = "Copying the profile can be a time consuming experience. It may stall your game for multiple seconds. WARNING: It will overwrite the current profile."
533+
L["ImportExport_Desc"] = [[
534+
535+
Below you will find a text representation of your Neuron profile.
536+
537+
To export this profile, select and copy all of the text below and paste it somewhere safe.
538+
539+
To import a profile, replace all of the text below with the text from a previously exported profile.
540+
541+
]]
542+
L["ImportExport_WarningDesc"] = [[
543+
544+
Copying and pasting profile data can be a time consuming experience. It may stall your game for multiple seconds.
545+
546+
WARNING: This will overwrite the current profile, and any changes you have made will be lost.
547+
]]
534548
L["ImportWarning"] = "Are you absolutely certain you wish to import this profile? The current profile will be overwritten."
535549
L["No data to import."] = true
536550
L["Decoding failed."] = true
@@ -541,9 +555,11 @@ L["Aborting."] = true
541555
L["Experimental"] = true
542556
L["Experimental Options"] = true
543557
L["Experimental_Options_Warning"] = [[
558+
544559
Warning:
545560
546-
Here you will fill find experimental and potential dangerous options.
561+
Here you will fill find experimental and potentially dangerous options.
547562
548563
Use at your own risk.
564+
549565
]]

Neuron-GUI.lua

+28-6
Original file line numberDiff line numberDiff line change
@@ -3881,22 +3881,44 @@ NeuronGUI.interfaceOptions = {
38813881
type = "group",
38823882
order = 1001,
38833883
args = {
3884-
line1 = {
3885-
type = "description",
3886-
name = L["Experimental_Options_Warning"]
3884+
3885+
Header = {
3886+
order = 1,
3887+
name = L["Experimental Options"],
3888+
type = "header",
38873889
},
38883890

3891+
Warning = {
3892+
order = 2,
3893+
type = "description",
3894+
name = DIM_RED_FONT_COLOR:WrapTextInColorCode(L["Experimental_Options_Warning"]),
3895+
fontSize = "large",
3896+
},
38893897
importexport={
38903898
name = L["Profile"].." "..L["Import"].."/"..L["Export"],
38913899
type = "group",
38923900
order = 1,
38933901
args={
3894-
TextBox = {
3902+
3903+
Header = {
38953904
order = 1,
3905+
name = L["Profile"].." "..L["Import"].."/"..L["Export"],
3906+
type = "header",
3907+
},
3908+
3909+
Instructions = {
3910+
order = 2,
3911+
name = L["ImportExport_Desc"],
3912+
type = "description",
3913+
fontSize = "medium",
3914+
},
3915+
3916+
TextBox = {
3917+
order = 3,
38963918
name = L["Import or Export the current profile:"],
3897-
desc = L["ImportExport_Desc"],
3919+
desc = DIM_RED_FONT_COLOR:WrapTextInColorCode(L["ImportExport_WarningDesc"]),
38983920
type = "input",
3899-
multiline = 30,
3921+
multiline = 22,
39003922
confirm = function() return L["ImportWarning"] end,
39013923
validate = false,
39023924
set = function(self, input) Neuron:SetSerializedAndCompressedProfile(input) end,

0 commit comments

Comments
 (0)