mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
CHange html page to single phrases for translation
This commit is contained in:
parent
47e4d81148
commit
d2e03caea1
@ -252,71 +252,102 @@ void SaveGraphLayoutSettings::helpDestructor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString SaveGraphLayoutSettings::helpInfo() {
|
QString SaveGraphLayoutSettings::helpInfo() {
|
||||||
return QString( tr("\
|
QStringList strList;
|
||||||
<p style=\"color:black;\"> \
|
strList<<QString("<p style=\"color:black;\">")
|
||||||
This feature manages the saving and restoring of Layout Settings.\
|
<<QString(tr("This feature manages the saving and restoring of Layout Settings."))
|
||||||
<br>\
|
<<QString("<br>")
|
||||||
Layout Settings control the layout of a graph or chart.\
|
<<QString(tr("Layout Settings control the layout of a graph or chart."))
|
||||||
<br>\
|
<<QString("<br>")
|
||||||
Different Layouts Settings can be saved and later restored.\
|
<<QString(tr("Different Layouts Settings can be saved and later restored."))
|
||||||
<br>\
|
<<QString("<br> </p> <table width=\"100%\"> <tr><td><b>")
|
||||||
</p>\
|
<<QString(tr("Button"))
|
||||||
<table width=\"100%\"> \
|
<<QString("</b></td> <td><b>")
|
||||||
<tr><td><b>Button</b></td> \
|
<<QString(tr("Description"))
|
||||||
<td><b>Description</b></td></tr> \
|
<<QString("</b></td></tr> <tr><td valign=\"top\">")
|
||||||
<tr><td valign=\"top\">Add</td> \
|
<<QString(tr("Add"))
|
||||||
<td>Creates a copy of the current Layout Settings. <br> \
|
<<QString("</td> <td>")
|
||||||
The default description is the current date. <br> \
|
<<QString(tr("Creates a copy of the current Layout Settings."))
|
||||||
The description may be changed. <br> \
|
<<QString("<br>")
|
||||||
The Add button will be greyed out when maximum number is reached.</td></tr> \
|
<<QString(tr("The default description is the current date."))
|
||||||
<br> \
|
<<QString("<br>")
|
||||||
<tr><td><i><u>Other Buttons</u> </i></td> \
|
<<QString(tr("The description may be changed."))
|
||||||
<td>Greyed out when there are no selections</td></tr> \
|
<<QString("<br>")
|
||||||
<tr><td>Restore</td> \
|
<<QString(tr("The Add button will be greyed out when maximum number is reached."))
|
||||||
<td>Loads the Layout Settings from the selection. Automatically exits. </td></tr> \
|
<<QString("</td></tr> <br> <tr><td><i><u>")
|
||||||
<tr><td>Rename </td> \
|
<<QString(tr("Other Buttons"))
|
||||||
<td>Modify the description of the selection. Same as a double click.</td></tr> \
|
<<QString("</u> </i></td> <td>")
|
||||||
<tr><td valign=\"top\">Update</td><td> Saves the current Layout Settings to the selection.<br> \
|
<<QString(tr("Greyed out when there are no selections"))
|
||||||
Prompts for confirmation.</td></tr> \
|
<<QString("</td></tr> <tr><td>")
|
||||||
<tr><td valign=\"top\">Delete</td> \
|
<<QString(tr("Restore"))
|
||||||
<td>Deletes the selecton. <br> \
|
<<QString("</td> <td>")
|
||||||
Prompts for confirmation.</td></tr> \
|
<<QString(tr("Loads the Layout Settings from the selection. Automatically exits. io"))
|
||||||
<tr><td><i><u>Control</u> </i></td> \
|
<<QString("</td></tr> <tr><td>")
|
||||||
<td></td></tr> \
|
<<QString(tr("Rename"))
|
||||||
<tr><td>Exit </td> \
|
<<QString("</td><td>")
|
||||||
<td>(Red circle with a white \"X\".) Returns to OSCAR menu.</td></tr> \
|
<<QString(tr("Modify the description of the selection. Same as a double click.io"))
|
||||||
<tr><td>Return</td> \
|
<<QString("</td></tr> <tr><td valign=\"top\">")
|
||||||
<td>Next to Exit icon. Only in Help Menu. Returns to Layout menu.</td></tr> \
|
<<QString(tr("Update"))
|
||||||
<tr><td>Escape Key</td> \
|
<<QString("</td><td>")
|
||||||
<td>Exit the Help or Layout menu.</td></tr> \
|
<<QString(tr("Saves the current Layout Settings to the selection."))
|
||||||
</table> \
|
<<QString("<br>")
|
||||||
<p><b>Layout Settings</b></p> \
|
<<QString(tr("Prompts for confirmation."))
|
||||||
<table width=\"100%\"> \
|
<<QString("</td></tr> <tr><td valign=\"top\">")
|
||||||
<tr> \
|
<<QString(tr("Delete"))
|
||||||
<td>* Name</td> \
|
<<QString("</td> <td>")
|
||||||
<td>* Pinning</td> \
|
<<QString(tr("Deletes the selecton."))
|
||||||
<td>* Plots Enabled </td> \
|
<<QString("<br>")
|
||||||
<td>* Height</td> \
|
<<QString(tr("Prompts for confirmation."))
|
||||||
</tr> \
|
<<QString("</td></tr> <tr><td><i><u>")
|
||||||
<tr> \
|
<<QString(tr("Control"))
|
||||||
<td>* Order</td> \
|
<<QString("</u> </i></td> <td></td></tr> <tr><td>")
|
||||||
<td>* Event Flags</td> \
|
<<QString(tr("Exit"))
|
||||||
<td>* Dotted Lines</td> \
|
<<QString("</td> <td>")
|
||||||
<td>* Height Options</td> \
|
<<QString(tr("(Red circle with a white \"X\".) Returns to OSCAR menu."))
|
||||||
</tr> \
|
<<QString("</td></tr> <tr><td>")
|
||||||
</table> \
|
<<QString(tr("Return"))
|
||||||
<p><b>General Information</b></p> \
|
<<QString("</td> <td>")
|
||||||
<ul style=margin-left=\"20\"; > \
|
<<QString(tr("Next to Exit icon. Only in Help Menu. Returns to Layout menu."))
|
||||||
<li> Maximum description size = 80 characters. </li> \
|
<<QString("</td></tr> <tr><td>")
|
||||||
<li> Maximum Saved Layout Settings = 30. </li> \
|
<<QString(tr("Escape Key"))
|
||||||
<li> Saved Layout Settings can be accessed by all profiles. \
|
<<QString("</td> <td>")
|
||||||
<li> Layout Settings only control the layout of a graph or chart. <br> \
|
<<QString(tr("Exit the Help or Layout menu."))
|
||||||
They do not contain any other data. <br> \
|
<<QString("</td></tr> </table> <p><b>")
|
||||||
They do not control if a graph is displayed or not. </li> \
|
<<QString(tr("Layout Settings"))
|
||||||
<li> Layout Settings for daily and overview are managed independantly. </li>\
|
<<QString("</b></p> <table width=\"100%\"> <tr> <td>")
|
||||||
</ul> \
|
<<QString(tr("* Name"))
|
||||||
"));
|
<<QString("</td> <td>")
|
||||||
}
|
<<QString(tr("* Pinning"))
|
||||||
|
<<QString("</td> <td>")
|
||||||
|
<<QString(tr("* Plots Enabled"))
|
||||||
|
<<QString("</td> <td>")
|
||||||
|
<<QString(tr("* Height"))
|
||||||
|
<<QString("</td> </tr> <tr> <td>")
|
||||||
|
<<QString(tr("* Order"))
|
||||||
|
<<QString("</td> <td>")
|
||||||
|
<<QString(tr("* Event Flags"))
|
||||||
|
<<QString("</td> <td>")
|
||||||
|
<<QString(tr("* Dotted Lines"))
|
||||||
|
<<QString("</td> <td>")
|
||||||
|
<<QString(tr("* Height Options"))
|
||||||
|
<<QString("</td> </tr> </table> <p><b>")
|
||||||
|
<<QString(tr("General Information"))
|
||||||
|
<<QString("</b></p> <ul style=margin-left=\"20\"; > <li>")
|
||||||
|
<<QString(tr("Maximum description size = 80 characters. "))
|
||||||
|
<<QString("</li> <li>")
|
||||||
|
<<QString(tr("Maximum Saved Layout Settings = 30. "))
|
||||||
|
<<QString("</li> <li>")
|
||||||
|
<<QString(tr("Saved Layout Settings can be accessed by all profiles."))
|
||||||
|
<<QString("<li>")
|
||||||
|
<<QString(tr("Layout Settings only control the layout of a graph or chart."))
|
||||||
|
<<QString("<br>")
|
||||||
|
<<QString(tr("They do not contain any other data."))
|
||||||
|
<<QString("<br>")
|
||||||
|
<<QString(tr("They do not control if a graph is displayed or not."))
|
||||||
|
<<QString("</li> <li>")
|
||||||
|
<<QString(tr("Layout Settings for daily and overview are managed independantly."))
|
||||||
|
<<QString("</li> </ul>");
|
||||||
|
return strList.join("\n");
|
||||||
|
};
|
||||||
|
|
||||||
const QString SaveGraphLayoutSettings::calculateStyleMessageBox(QFont* font , QString& s1, QString& s2) {
|
const QString SaveGraphLayoutSettings::calculateStyleMessageBox(QFont* font , QString& s1, QString& s2) {
|
||||||
QFontMetrics fm = QFontMetrics(*font);
|
QFontMetrics fm = QFontMetrics(*font);
|
||||||
|
Loading…
Reference in New Issue
Block a user