Repository navigation
fix(backend): 修复随附插件启动冲突并忽略生成译文 #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
77e9759
fix(i18n): 不再跟踪下载的后端译文
7f6dafd
fix(plugins): keep installed plugin on same-version bundle conflict
c6b7b75
fix(i18n): verify the backend without Crowdin credentials
e1524a0
fix(backend): preserve English fallback and verify plugin conflict
0147a6c
test(i18n): exercise production English message lookup
e5e3242
Merge main into fix/backend-crowdin-translations
8a0a04e
Merge latest main and keep source-owned CAN translations
73d7f9a
chore(ci): restore main workflows in localization PR
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| .runtime/ | ||
| **/target/ | ||
| *.pid | ||
|
|
||
| # Locale variants of the Crowdin bundle; keep the English source and supplemental bundles tracked. | ||
| /crydaq-server/src/main/resources/lang/messages_*.properties | ||
|
KyleHuangFromHZ marked this conversation as resolved.
Resolved
KyleHuangFromHZ marked this conversation as resolved.
Resolved
KyleHuangFromHZ marked this conversation as resolved.
Resolved
KyleHuangFromHZ marked this conversation as resolved.
Resolved
KyleHuangFromHZ marked this conversation as resolved.
Resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
apps/backend/crydaq-server/src/main/resources/lang/can-errors.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| # Source-owned CAN errors. Keep these messages available in builds without Crowdin. | ||
| can.error.nativeFailure=CAN operation failed. Check the port configuration, device connection and reception state. | ||
| can.error.invalidResponse=Invalid CAN response. Check the device plugin and Native library versions. | ||
| can.error.saveFailed=CAN settings were applied, but could not be saved. Apply and save them again. | ||
| can.error.deviceUnavailable=The CAN device is unavailable. | ||
| can.error.portUnavailable=The selected CAN port is unavailable on this device. | ||
| can.error.busy=The CAN port is in use or being released. Stop the corresponding operation first. | ||
| can.error.sourceFailed=CAN reception ended with an error. Stop and release this reception first. | ||
| can.error.invalidCursor=The CAN frame cursor is invalid. | ||
| can.error.nativeUnavailable=The Native library does not provide the required CAN interface. Update the runtime libraries. | ||
| error.jni.native.13103001=Invalid CAN parameters. | ||
| error.jni.native.13103002=The current CAN state does not allow this operation. Check the enable switch, port configuration and reception state. | ||
| error.jni.native.13103003=The CAN reception handle is invalid or released. | ||
| error.jni.native.13103004=The device does not support the requested CAN capability. | ||
| error.jni.native.13103005=The CAN frame format is not supported. | ||
| error.jni.native.13103006=The CAN device was not found. | ||
| error.jni.native.13103007=The CAN device is disconnected. | ||
| error.jni.native.13103008=The CAN port is in use or being released. | ||
| error.jni.native.13103009=The CAN operation timed out. | ||
| error.jni.native.13103010=The CAN reception buffer overflowed. | ||
| error.jni.native.13103011=The CAN buffer has insufficient data. | ||
| error.jni.native.13103012=The CAN plugin major version is incompatible. | ||
| error.jni.native.13103013=The CAN plugin minor version is unsupported. | ||
| error.jni.native.13103014=The CAN plugin structure size is incompatible. | ||
| error.jni.native.13103015=The CAN plugin is missing a required interface. | ||
| error.jni.native.13103016=The CAN response buffer is too small. | ||
| error.jni.native.13103017=The CAN operation was interrupted. | ||
| error.jni.native.13103018=The CAN device operation failed. | ||
| error.jni.native.13103019=The CAN plugin returned an invalid response or failed. | ||
| error.jni.native.13103020=Permission to perform the CAN operation was denied. | ||
| error.jni.native.13103021=CAN memory allocation failed. | ||
| error.jni.native.13103022=The CAN operation raised an exception. | ||
| error.jni.native.13103023=The CAN JNI operation failed. | ||
| error.jni.native.13103024=The CAN result could not be encoded. | ||
|
|
||
| # CAN project channel persistence | ||
| can.project.error.required=Project, device and channel name are required. | ||
| can.project.error.scope=The CAN project or device binding is unavailable. | ||
| can.project.error.fields=CAN channels accept only project identity, name, color and CAN definition fields. | ||
| can.project.error.definition=The saved CAN definition is invalid. | ||
| can.project.error.units=The CAN quantity, source unit, output unit or Tacho PPR is invalid. | ||
| can.project.error.nativeUnavailable=The installed Native library cannot validate CAN signal definitions. | ||
| can.project.error.nativeResponse=Native returned an incomplete CAN validation response. | ||
| can.project.error.rule=The CAN decoder rule is invalid or unsupported. | ||
| can.project.error.mathInput=CAN signals cannot be used as Math inputs. | ||
| can.project.error.ambiguousDevice=The CAN device identity is ambiguous; select the device explicitly. | ||
| error.can.recorder.unavailable=CAN recording and history are not available yet. Use live Monitor or remove CAN inputs. | ||
| can.error.invalidDefinition=Invalid manual CAN signal definition; check the fields and units. | ||
| can.project.error.dbcSize=DBC files must contain 1 to 5,000,000 bytes. | ||
| can.project.error.dbcUnavailable=The installed Native library cannot parse DBC files. | ||
| can.project.error.dbcResponse=Native returned an incomplete DBC parse response. | ||
| can.project.error.dbcDocument=The saved DBC file or selection is invalid. | ||
| can.project.error.dbcSelection=Select a supported DBC message and signal. | ||
| can.project.error.dbcDecoder=DBC decoder fields must match the selected signal. | ||
| can.project.error.dbcRead=The DBC file could not be read. | ||
|
|
||
| can.recording.error.storage=The CAN raw recording storage operation failed. | ||
| can.recording.error.request=The raw recording ID or page parameters are invalid. | ||
| can.recording.error.notFound=The CAN raw recording was not found. | ||
| can.recording.error.active=Stop this raw recording before deleting it. | ||
| can.recording.error.closed=This raw recording has ended. | ||
|
|
||
| can.recorded.error.write=Failed to write the recorded CAN event file. Check the storage directory, free disk space and write permissions. | ||
| can.recorded.error.register=The CAN event file was created, but registering the recording file failed. Check the project database. | ||
| can.recorded.error.publish=The CAN event file was written, but publishing the recording snapshot failed. Check the project database. |
31 changes: 31 additions & 0 deletions
31
apps/backend/crydaq-server/src/main/resources/lang/can-errors_de.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Source-owned CAN errors. Keep these messages available in builds without Crowdin. | ||
| # CAN project channel persistence | ||
| can.project.error.required=Project, device and channel name are required. | ||
|
KyleHuangFromHZ marked this conversation as resolved.
Resolved
|
||
| can.project.error.scope=The CAN project or device binding is unavailable. | ||
| can.project.error.fields=CAN channels accept only project identity, name, color and CAN definition fields. | ||
| can.project.error.definition=The saved CAN definition is invalid. | ||
| can.project.error.units=The CAN quantity, source unit, output unit or Tacho PPR is invalid. | ||
| can.project.error.nativeUnavailable=The installed Native library cannot validate CAN signal definitions. | ||
| can.project.error.nativeResponse=Native returned an incomplete CAN validation response. | ||
| can.project.error.rule=The CAN decoder rule is invalid or unsupported. | ||
| can.project.error.mathInput=CAN signals cannot be used as Math inputs. | ||
| can.project.error.ambiguousDevice=The CAN device identity is ambiguous; select the device explicitly. | ||
| error.can.recorder.unavailable=CAN recording and history are not available yet. Use live Monitor or remove CAN inputs. | ||
| can.error.invalidDefinition=Invalid manual CAN signal definition; check the fields and units. | ||
| can.project.error.dbcSize=DBC-Dateien m\u00fcssen 1 bis 5.000.000 Bytes enthalten. | ||
| can.project.error.dbcUnavailable=Die installierte Native-Bibliothek kann DBC-Dateien nicht analysieren. | ||
| can.project.error.dbcResponse=Native hat ein unvollst\u00e4ndiges DBC-Analyseergebnis zur\u00fcckgegeben. | ||
| can.project.error.dbcDocument=Die gespeicherte DBC-Datei oder Auswahl ist ung\u00fcltig. | ||
| can.project.error.dbcSelection=W\u00e4hlen Sie eine unterst\u00fctzte DBC-Nachricht und ein Signal. | ||
| can.project.error.dbcDecoder=Die DBC-Decodierfelder m\u00fcssen dem ausgew\u00e4hlten Signal entsprechen. | ||
| can.project.error.dbcRead=Die DBC-Datei konnte nicht gelesen werden. | ||
|
|
||
| can.recording.error.storage=Der Speichervorgang f\u00fcr die CAN-Rohdatenaufzeichnung ist fehlgeschlagen. | ||
| can.recording.error.request=Die Aufzeichnungs-ID oder die Seitenparameter sind ung\u00fcltig. | ||
| can.recording.error.notFound=Die CAN-Rohdatenaufzeichnung wurde nicht gefunden. | ||
| can.recording.error.active=Beenden Sie diese Rohdatenaufzeichnung, bevor Sie sie l\u00f6schen. | ||
| can.recording.error.closed=Diese Rohdatenaufzeichnung wurde beendet. | ||
|
|
||
| can.recorded.error.write=Die aufgezeichnete CAN-Ereignisdatei konnte nicht geschrieben werden. Prüfen Sie Speicherordner, freien Speicherplatz und Schreibrechte. | ||
| can.recorded.error.register=Die CAN-Ereignisdatei wurde erstellt, konnte aber nicht registriert werden. Prüfen Sie die Projektdatenbank. | ||
| can.recorded.error.publish=Die CAN-Ereignisdatei wurde geschrieben, der Aufnahme-Snapshot konnte aber nicht gespeichert werden. Prüfen Sie die Projektdatenbank. | ||
31 changes: 31 additions & 0 deletions
31
apps/backend/crydaq-server/src/main/resources/lang/can-errors_es.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Source-owned CAN errors. Keep these messages available in builds without Crowdin. | ||
| # CAN project channel persistence | ||
| can.project.error.required=Project, device and channel name are required. | ||
| can.project.error.scope=The CAN project or device binding is unavailable. | ||
| can.project.error.fields=CAN channels accept only project identity, name, color and CAN definition fields. | ||
| can.project.error.definition=The saved CAN definition is invalid. | ||
| can.project.error.units=The CAN quantity, source unit, output unit or Tacho PPR is invalid. | ||
| can.project.error.nativeUnavailable=The installed Native library cannot validate CAN signal definitions. | ||
| can.project.error.nativeResponse=Native returned an incomplete CAN validation response. | ||
| can.project.error.rule=The CAN decoder rule is invalid or unsupported. | ||
| can.project.error.mathInput=CAN signals cannot be used as Math inputs. | ||
| can.project.error.ambiguousDevice=The CAN device identity is ambiguous; select the device explicitly. | ||
| error.can.recorder.unavailable=CAN recording and history are not available yet. Use live Monitor or remove CAN inputs. | ||
| can.error.invalidDefinition=Invalid manual CAN signal definition; check the fields and units. | ||
| can.project.error.dbcSize=Los archivos DBC deben contener entre 1 y 5.000.000 bytes. | ||
| can.project.error.dbcUnavailable=La biblioteca Native instalada no puede analizar archivos DBC. | ||
| can.project.error.dbcResponse=Native devolvi\u00f3 un resultado de an\u00e1lisis DBC incompleto. | ||
| can.project.error.dbcDocument=El archivo DBC guardado o la selecci\u00f3n no son v\u00e1lidos. | ||
| can.project.error.dbcSelection=Seleccione un mensaje y una se\u00f1al DBC compatibles. | ||
| can.project.error.dbcDecoder=Los campos de decodificaci\u00f3n DBC deben coincidir con la se\u00f1al seleccionada. | ||
| can.project.error.dbcRead=No se pudo leer el archivo DBC. | ||
|
|
||
| can.recording.error.storage=La operaci\u00f3n de almacenamiento de la grabaci\u00f3n CAN sin procesar ha fallado. | ||
| can.recording.error.request=El identificador de grabaci\u00f3n o los par\u00e1metros de p\u00e1gina no son v\u00e1lidos. | ||
| can.recording.error.notFound=No se encontr\u00f3 la grabaci\u00f3n CAN sin procesar. | ||
| can.recording.error.active=Detenga esta grabaci\u00f3n antes de eliminarla. | ||
| can.recording.error.closed=Esta grabaci\u00f3n ha finalizado. | ||
|
|
||
| can.recorded.error.write=No se pudo escribir el archivo de eventos CAN grabados. Compruebe la carpeta, el espacio libre y los permisos de escritura. | ||
| can.recorded.error.register=El archivo de eventos CAN se creó, pero no se pudo registrar. Compruebe la base de datos del proyecto. | ||
| can.recorded.error.publish=El archivo de eventos CAN se escribió, pero no se pudo publicar la instantánea de la grabación. Compruebe la base de datos del proyecto. |
31 changes: 31 additions & 0 deletions
31
apps/backend/crydaq-server/src/main/resources/lang/can-errors_fr.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Source-owned CAN errors. Keep these messages available in builds without Crowdin. | ||
| # CAN project channel persistence | ||
| can.project.error.required=Project, device and channel name are required. | ||
| can.project.error.scope=The CAN project or device binding is unavailable. | ||
| can.project.error.fields=CAN channels accept only project identity, name, color and CAN definition fields. | ||
| can.project.error.definition=The saved CAN definition is invalid. | ||
| can.project.error.units=The CAN quantity, source unit, output unit or Tacho PPR is invalid. | ||
| can.project.error.nativeUnavailable=The installed Native library cannot validate CAN signal definitions. | ||
| can.project.error.nativeResponse=Native returned an incomplete CAN validation response. | ||
| can.project.error.rule=The CAN decoder rule is invalid or unsupported. | ||
| can.project.error.mathInput=CAN signals cannot be used as Math inputs. | ||
| can.project.error.ambiguousDevice=The CAN device identity is ambiguous; select the device explicitly. | ||
| error.can.recorder.unavailable=CAN recording and history are not available yet. Use live Monitor or remove CAN inputs. | ||
| can.error.invalidDefinition=Invalid manual CAN signal definition; check the fields and units. | ||
| can.project.error.dbcSize=Les fichiers DBC doivent contenir entre 1 et 5 000 000 octets. | ||
| can.project.error.dbcUnavailable=La biblioth\u00e8que Native install\u00e9e ne peut pas analyser les fichiers DBC. | ||
| can.project.error.dbcResponse=Native a renvoy\u00e9 un r\u00e9sultat DBC incomplet. | ||
| can.project.error.dbcDocument=Le fichier DBC enregistr\u00e9 ou la s\u00e9lection est invalide. | ||
| can.project.error.dbcSelection=S\u00e9lectionnez un message et un signal DBC pris en charge. | ||
| can.project.error.dbcDecoder=Les champs de d\u00e9codage DBC doivent correspondre au signal s\u00e9lectionn\u00e9. | ||
| can.project.error.dbcRead=Impossible de lire le fichier DBC. | ||
|
|
||
| can.recording.error.storage=L\u2019op\u00e9ration de stockage de l\u2019enregistrement CAN brut a \u00e9chou\u00e9. | ||
| can.recording.error.request=L\u2019identifiant de l\u2019enregistrement ou les param\u00e8tres de pagination ne sont pas valides. | ||
| can.recording.error.notFound=L\u2019enregistrement CAN brut est introuvable. | ||
| can.recording.error.active=Arr\u00eatez cet enregistrement avant de le supprimer. | ||
| can.recording.error.closed=Cet enregistrement est termin\u00e9. | ||
|
|
||
| can.recorded.error.write=Impossible d'écrire le fichier des événements CAN enregistrés. Vérifiez le dossier de stockage, l'espace libre et les droits d'écriture. | ||
| can.recorded.error.register=Le fichier des événements CAN a été créé, mais son enregistrement a échoué. Vérifiez la base de données du projet. | ||
| can.recorded.error.publish=Le fichier des événements CAN a été écrit, mais la publication de l'instantané a échoué. Vérifiez la base de données du projet. |
31 changes: 31 additions & 0 deletions
31
apps/backend/crydaq-server/src/main/resources/lang/can-errors_ja.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Source-owned CAN errors. Keep these messages available in builds without Crowdin. | ||
| # CAN project channel persistence | ||
| can.project.error.required=Project, device and channel name are required. | ||
| can.project.error.scope=The CAN project or device binding is unavailable. | ||
| can.project.error.fields=CAN channels accept only project identity, name, color and CAN definition fields. | ||
| can.project.error.definition=The saved CAN definition is invalid. | ||
| can.project.error.units=The CAN quantity, source unit, output unit or Tacho PPR is invalid. | ||
| can.project.error.nativeUnavailable=The installed Native library cannot validate CAN signal definitions. | ||
| can.project.error.nativeResponse=Native returned an incomplete CAN validation response. | ||
| can.project.error.rule=The CAN decoder rule is invalid or unsupported. | ||
| can.project.error.mathInput=CAN signals cannot be used as Math inputs. | ||
| can.project.error.ambiguousDevice=The CAN device identity is ambiguous; select the device explicitly. | ||
| error.can.recorder.unavailable=CAN recording and history are not available yet. Use live Monitor or remove CAN inputs. | ||
| can.error.invalidDefinition=Invalid manual CAN signal definition; check the fields and units. | ||
| can.project.error.dbcSize=DBC \u30d5\u30a1\u30a4\u30eb\u306f 1 \uff5e 5,000,000 \u30d0\u30a4\u30c8\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 | ||
| can.project.error.dbcUnavailable=\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e Native \u30e9\u30a4\u30d6\u30e9\u30ea\u306f DBC \u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u6790\u3067\u304d\u307e\u305b\u3093\u3002 | ||
| can.project.error.dbcResponse=Native \u304c\u8fd4\u3057\u305f DBC \u89e3\u6790\u7d50\u679c\u304c\u4e0d\u5b8c\u5168\u3067\u3059\u3002 | ||
| can.project.error.dbcDocument=\u4fdd\u5b58\u3055\u308c\u305f DBC \u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u9078\u629e\u304c\u7121\u52b9\u3067\u3059\u3002 | ||
| can.project.error.dbcSelection=\u5bfe\u5fdc\u3057\u3066\u3044\u308b DBC \u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u4fe1\u53f7\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002 | ||
| can.project.error.dbcDecoder=DBC \u30c7\u30b3\u30fc\u30c9\u9805\u76ee\u306f\u9078\u629e\u3057\u305f\u4fe1\u53f7\u3068\u4e00\u81f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 | ||
| can.project.error.dbcRead=DBC \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002 | ||
|
|
||
| can.recording.error.storage=CAN \u751f\u30d5\u30ec\u30fc\u30e0\u8a18\u9332\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u64cd\u4f5c\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 | ||
| can.recording.error.request=\u8a18\u9332 ID \u307e\u305f\u306f\u30da\u30fc\u30b8\u6307\u5b9a\u304c\u7121\u52b9\u3067\u3059\u3002 | ||
| can.recording.error.notFound=CAN \u751f\u30d5\u30ec\u30fc\u30e0\u8a18\u9332\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 | ||
| can.recording.error.active=\u524a\u9664\u3059\u308b\u524d\u306b\u3001\u3053\u306e\u751f\u30d5\u30ec\u30fc\u30e0\u8a18\u9332\u3092\u505c\u6b62\u3057\u3066\u304f\u3060\u3055\u3044\u3002 | ||
| can.recording.error.closed=\u3053\u306e\u751f\u30d5\u30ec\u30fc\u30e0\u8a18\u9332\u306f\u7d42\u4e86\u3057\u3066\u3044\u307e\u3059\u3002 | ||
|
|
||
| can.recorded.error.write=記録した CAN イベントファイルを書き込めません。保存先、空き容量、書き込み権限を確認してください。 | ||
| can.recorded.error.register=CAN イベントファイルを作成しましたが、録音ファイルの登録に失敗しました。プロジェクトデータベースを確認してください。 | ||
| can.recorded.error.publish=CAN イベントファイルを書き込みましたが、記録スナップショットの保存に失敗しました。プロジェクトデータベースを確認してください。 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.