Skip to content

Commit 90c1466

Browse files
committed
improve SUG and Messages
1 parent a122ca2 commit 90c1466

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

guide/plg_interfaces.tex

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ \section{Solar System Editor Plugin}
871871

872872
\clearpage
873873

874-
\section{Nebula Textures Plugin User Guide}
874+
\section{Nebula Textures Plugin}
875875
\label{sec:plugins:NebulaTextures}
876876

877877
The Nebula Textures plugin allows users to customize deep-sky object (DSO) textures, precisely
@@ -881,7 +881,8 @@ \section{Nebula Textures Plugin User Guide}
881881
positioning of astronomical images. The plugin's full functionality includes online plate-solving
882882
and positioning of astronomical images, as well as the management and rendering of custom textures.
883883

884-
\subsection{Steps for Online Solving and Texture Management (For Astrophotography)}
884+
\subsection{Online Solving and Texture Management}
885+
Instructions for integrating astrophotography images via online plate solving.
885886
\begin{enumerate}
886887
\item \textbf{Prepare an Image}: Prepare a processed rectangular bitmap file of a deep-sky object,
887888
in a format that supports both Astrometry analysis and rendering, such as PNG, JPG, TIF, or GIF.
@@ -898,7 +899,7 @@ \subsection{Steps for Online Solving and Texture Management (For Astrophotograph
898899
button to select an image file or paste the file path into the “Image Filepath” text box.
899900

900901
\item \textbf{Enter API Key}: Paste your Astrometry API key into the corresponding text box (password
901-
mode by default). If you don’t have one, click \href{https://nova.astrometry.net/api_help}{\textcolor{blue}{\underline{Astrometry API key}}} to obtain it
902+
mode by default). If you don’t have one, click \href{https://nova.astrometry.net/api_help}{\textcolor{blue}{\underline{Astrometry ApiKey}}} to obtain it
902903
after registering or logging in. Check \checkbox{Remember me} to store the key for future use.
903904

904905
\item \textbf{Upload and Solve}: Click \button{Online Solve} to begin uploading and solving the image. Ensure system
@@ -937,11 +938,11 @@ \subsection{Steps for Online Solving and Texture Management (For Astrophotograph
937938
Stellarium may continue rendering the texture until it is restarted.
938939
\end{enumerate}
939940

940-
\subsection{Steps for Manual Texture Addition (For Sketches, Paintings, etc.)}
941-
The process is similar to the above, except that you don’t need to upload the texture file for solving:
941+
\subsection{Manual Texture Addition)}
942+
Instructions for adding manual textures (e.g., sketches, paintings). The process is similar to the one above, but performing online solving is not required:
942943
\begin{itemize}
943944
\item Open the image file. Stars in non-astrophotographic images may not align precisely with the
944-
software's stars, so it is recommended to use the texture without stars (de-starring).
945+
software's stars, so it is recommended to use the texture without stars (de-star it).
945946
\item Input the J2000 equatorial coordinates (in decimal degrees) for the image corners, aligning
946947
with the bitmap display.
947948
\item If needed, use an astrophotography image with a similar field of view (FOV) to obtain
@@ -962,7 +963,7 @@ \subsection{Notes}
962963
\item After adding a texture, you must restart Stellarium to fully integrate the texture into the
963964
module. The same applies when deleting a texture.
964965
\item To back up your texture library or share it with others, copy the plugin folder from your user
965-
config directory. For Windows, the path is typically:
966+
config directory. You can find the exact plugin storage path in the “About” section of the plugin GUI. For Windows systems, this path is usually something like:
966967
\begin{quote}
967968
\texttt{\%APPDATA\%\textbackslash Stellarium\textbackslash modules\textbackslash NebulaTextures}
968969
\end{quote}

plugins/NebulaTextures/src/PlateSolver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void PlateSolver::sendSubStatusRequest()
284284
}
285285
});
286286

287-
emit solvingStatusUpdated(q_("Checking submission status") +QString(" (%1/%2)...").arg(retryCount + 1).arg(maxRetryCount));
287+
emit solvingStatusUpdated(q_("Checking submission status (%1/%2)...").arg(retryCount + 1).arg(maxRetryCount));
288288
}
289289

290290
/**
@@ -323,7 +323,7 @@ void PlateSolver::onSubStatusReply()
323323
emit solvingStatusUpdated(q_("Job ID received. Processing..."));
324324
} else if (json.contains("error_message")) {
325325
subStatusTimer->stop();
326-
emit failed(q_("Astrometry error.") +" " + json["error_message"].toString());
326+
emit failed(q_("Astrometry error. %1").arg(json["error_message"].toString()));
327327
}
328328
}
329329

@@ -349,7 +349,7 @@ void PlateSolver::sendJobStatusRequest()
349349
}
350350
});
351351

352-
emit solvingStatusUpdated(q_("Checking job status") +QString(" (%1/%2)...").arg(retryCount + 1).arg(maxRetryCount));
352+
emit solvingStatusUpdated(q_("Checking job status (%1/%2)...").arg(retryCount + 1).arg(maxRetryCount));
353353
}
354354

355355
/**

plugins/NebulaTextures/src/gui/NebulaTexturesDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void NebulaTexturesDialog::createDialogContent()
116116
ui->checkBoxShow->setChecked(getShowCustomTextures());
117117
ui->checkBoxAvoid->setChecked(getAvoidAreaConflict());
118118
ui->cancelButton->setVisible(false);
119-
ui->label_apiKey->setText(QString("<a href=\"https://nova.astrometry.net/api_help\">") + q_("Astrometry API key:") + "</a>");
119+
ui->label_apiKey->setText(QString("<a href=\"https://nova.astrometry.net/api_help\">Astrometry API key:</a>"));
120120
ui->brightComboBox->addItem(q_("Bright"), QVariant(12));
121121
ui->brightComboBox->addItem(q_("Normal"), QVariant(13.5));
122122
ui->brightComboBox->addItem(q_("Dark"), QVariant(15));

0 commit comments

Comments
 (0)