From d2e03caea19c50a372d6bbf458ca496071cf9d18 Mon Sep 17 00:00:00 2001 From: LoudSnorer Date: Wed, 7 Jun 2023 15:57:32 -0400 Subject: [PATCH] CHange html page to single phrases for translation --- oscar/saveGraphLayoutSettings.cpp | 161 ++++++++++++++++++------------ 1 file changed, 96 insertions(+), 65 deletions(-) diff --git a/oscar/saveGraphLayoutSettings.cpp b/oscar/saveGraphLayoutSettings.cpp index 11ba68d0..1c7771be 100644 --- a/oscar/saveGraphLayoutSettings.cpp +++ b/oscar/saveGraphLayoutSettings.cpp @@ -252,71 +252,102 @@ void SaveGraphLayoutSettings::helpDestructor() { } QString SaveGraphLayoutSettings::helpInfo() { -return QString( tr("\ -

\ - This feature manages the saving and restoring of Layout Settings.\ -
\ - Layout Settings control the layout of a graph or chart.\ -
\ - Different Layouts Settings can be saved and later restored.\ -
\ -

\ - \ - \ - \ - \ - \ -
\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -
ButtonDescription
AddCreates a copy of the current Layout Settings.
\ - The default description is the current date.
\ - The description may be changed.
\ - The Add button will be greyed out when maximum number is reached.
Other Buttons Greyed out when there are no selections
RestoreLoads the Layout Settings from the selection. Automatically exits.
Rename Modify the description of the selection. Same as a double click.
Update Saves the current Layout Settings to the selection.
\ - Prompts for confirmation.
DeleteDeletes the selecton.
\ - Prompts for confirmation.
Control
Exit (Red circle with a white \"X\".) Returns to OSCAR menu.
ReturnNext to Exit icon. Only in Help Menu. Returns to Layout menu.
Escape KeyExit the Help or Layout menu.
\ -

Layout Settings

\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -
* Name* Pinning* Plots Enabled * Height
* Order* Event Flags* Dotted Lines* Height Options
\ -

General Information

\ - \ -")); -} +QStringList strList; + strList<") +<") +<") +<


") +< ") +<
") +< ") +<") +<") +<") +<
") +< ") +<
") +< ") +<
") +<") +<
") +<") +<") +<
") +< ") +<") +<
") +<
") +< ") +<
") +< ") +<
") +< ") +<

") +<

") +< ") +< ") +< ") +<
") +< ") +< ") +< ") +<

") +<

  • ") +<
  • ") +<
  • ") +<") +<") +<") +<
  • ") +<
"); +return strList.join("\n"); +}; const QString SaveGraphLayoutSettings::calculateStyleMessageBox(QFont* font , QString& s1, QString& s2) { QFontMetrics fm = QFontMetrics(*font);