diff --git a/app/views/cameras/socs/hi3536dv100_is_weird.html.erb b/app/views/cameras/socs/hi3536dv100_is_weird.html.erb index 904a754..ccff3d4 100644 --- a/app/views/cameras/socs/hi3536dv100_is_weird.html.erb +++ b/app/views/cameras/socs/hi3536dv100_is_weird.html.erb @@ -20,7 +20,7 @@ <%= image_tag 'icons/pose/warning_front.png' %>
<%= t('.paragraph1') %>
<%= t('.paragraph2') %> https://github.com/OpenIPC/wiki/blob/master/en/fpv-nvr.md
diff --git a/app/views/cameras/socs/sigmastar_nand_is_weird.html.erb b/app/views/cameras/socs/sigmastar_nand_is_weird.html.erb index 4c5653e..b1410d5 100644 --- a/app/views/cameras/socs/sigmastar_nand_is_weird.html.erb +++ b/app/views/cameras/socs/sigmastar_nand_is_weird.html.erb @@ -21,8 +21,8 @@ <%= image_tag 'icons/pose/warning_front.png' %><%= t('.paragraph1') %>>
+<%= t('.paragraph1') %>
<%= t('.paragraph2') %> https://github.com/OpenIPC/wiki/blob/master/en/fpv-sigmastar.md
printenv in der Bootloader-Konsole aus.
installation:
+ attention: Achtung!
backup:
info: OpenIPC U-Boot überschreibt die ursprüngliche Kryptopartition und macht es unmöglich, zur werkseitigen Firmware zurückzukehren, es sei denn, Sie haben ein vollständiges Flash-Backup für diese bestimmte Kamera! Um ein vollständiges Firmware-Backup zu erstellen, starten Sie einen TFTP-Server und führen Sie diese Befehle in der Bootloader-Shell aus.
more_info_html: Weitere Informationen finden Sie in den Installationsanweisungen im Wiki des Projekts.
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 547cbd3..f665157 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -67,6 +67,7 @@ en:
firmware:
info_html: If you want to learn more about what the %{commands} commands do, run printenv in the bootloader console.
installation:
+ attention: Attention!
backup:
info: OpenIPC U-Boot overwrites the original crypto partition making it impossible to revert to the factory firmware unless you have a full flash backup for this particular camera! To create a full firmware backup start a TFTP server and run these commands in bootloader shell.
more_info_html: Please refer to Installation instructions in the project's wiki for more information.
diff --git a/config/locales/es.yml b/config/locales/es.yml
index f85c9ad..a0cd5c0 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -67,6 +67,7 @@ es:
firmware:
info_html: Si desea obtener más información sobre lo que hacen los comandos %{commands}, ejecute printenv en la consola del gestor de arranque.
installation:
+ attention: ¡Atención!
backup:
info: OpenIPC U-Boot sobrescribe la partición criptográfica original, lo que hace imposible volver al firmware de fábrica a menos que tenga una copia de seguridad flash completa para esta cámara en particular. Para crear una copia de seguridad completa del firmware, inicie un servidor TFTP y ejecute estos comandos en el shell del gestor de arranque.
more_info_html: Consulte las instrucciones de instalación en la wiki del proyecto para obtener más información.
diff --git a/config/locales/fa.yml b/config/locales/fa.yml
index e41d797..785806c 100644
--- a/config/locales/fa.yml
+++ b/config/locales/fa.yml
@@ -67,6 +67,7 @@ fa:
firmware:
info_html: اگر میخواهید درباره کارهایی که دستورات %{commands} انجام میدهند بیشتر بدانید، printenv را در کنسول بوتلودر اجرا کنید.
installation:
+ attention: توجه!
backup:
info: OpenIPC U-Boot پارتیشن کریپتو اصلی را بازنویسی می کند و بازگشت به سیستم عامل کارخانه را غیرممکن می کند مگر اینکه یک نسخه پشتیبان کامل از فلش برای این دوربین خاص داشته باشید! برای ایجاد یک نسخه پشتیبان کامل از سیستم عامل، یک سرور TFTP را راه اندازی کنید و این دستورات را در پوسته بوت لودر اجرا کنید.
more_info_html: لطفاً برای اطلاعات بیشتر به دستورالعملهای نصب در ویکی پروژه مراجعه کنید.
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index ed03fba..9870ef1 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -67,6 +67,7 @@ fr:
firmware:
info_html: Si vous souhaitez en savoir plus sur ce que font les commandes %{commands}, exécutez printenv dans la console du chargeur de démarrage.
installation:
+ attention: Attention !
backup:
info: OpenIPC U-Boot écrase la partition cryptographique d'origine, ce qui rend impossible le retour au micrologiciel d'usine à moins que vous ne disposiez d'une sauvegarde flash complète pour cet appareil photo particulier ! Pour créer une sauvegarde complète du micrologiciel, démarrez un serveur TFTP et exécutez ces commandes dans le shell du chargeur de démarrage.
more_info_html: Veuillez vous référer aux instructions d'installation dans le wiki du projet pour plus d'informations.
diff --git a/config/locales/it.yml b/config/locales/it.yml
index 5c8e140..63f4cb1 100644
--- a/config/locales/it.yml
+++ b/config/locales/it.yml
@@ -67,6 +67,7 @@ it:
firmware:
info_html: Se vuoi saperne di più su cosa fanno i comandi %{commands}, esegui printenv nella console del bootloader.
installation:
+ attention: Attenzione!
backup:
info: OpenIPC U-Boot sovrascrive la partizione crittografica originale rendendo impossibile ripristinare il firmware di fabbrica a meno che non si disponga di un backup flash completo per questa particolare fotocamera! Per creare un backup completo del firmware, avvia un server TFTP ed esegui questi comandi nella shell del bootloader.
more_info_html: Per ulteriori informazioni, fare riferimento alle istruzioni di installazione nella wiki del progetto.
diff --git a/config/locales/pl.yml b/config/locales/pl.yml
index e838530..ca9d90e 100644
--- a/config/locales/pl.yml
+++ b/config/locales/pl.yml
@@ -67,6 +67,7 @@ pl:
firmware:
info_html: Jeśli chcesz dowiedzieć się więcej o działaniu poleceń %{commands}, uruchom printenv w konsoli bootloadera.
installation:
+ attention: Uwaga!
backup:
info: OpenIPC U-Boot zastępuje oryginalną partycję kryptograficzną, uniemożliwiając powrót do fabrycznego oprogramowania, chyba że masz pełną kopię zapasową flash dla tej konkretnej kamery! Aby utworzyć pełną kopię zapasową oprogramowania sprzętowego, uruchom serwer TFTP i uruchom te polecenia w powłoce programu ładującego.
more_info_html: Aby uzyskać więcej informacji, zapoznaj się z instrukcjami instalacji na wiki projektu.
diff --git a/config/locales/pt.yml b/config/locales/pt.yml
index cec5e41..c8062b4 100644
--- a/config/locales/pt.yml
+++ b/config/locales/pt.yml
@@ -67,6 +67,7 @@ pt:
firmware:
info_html: Se você quiser saber mais sobre o que os comandos %{commands} fazem, execute printenv no console do bootloader.
installation:
+ attention: Atenção!
backup:
info: O OpenIPC U-Boot substitui a partição criptografada original, tornando impossível reverter para o firmware de fábrica, a menos que você tenha um backup flash completo para esta câmera em particular! Para criar um backup completo do firmware, inicie um servidor TFTP e execute estes comandos no shell do bootloader.
more_info_html: Consulte as instruções de instalação no wiki do projeto para obter mais informações.
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index 01ce54a..d2a75f2 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -67,6 +67,7 @@ ru:
firmware:
info_html: Если вы хотите узнать больше о том, что делают команды %{commands}, запустите printenv в консоли загрузчика.
installation:
+ attention: Внимание!
backup:
info: OpenIPC U-Boot перезаписывает исходный криптографический раздел, делая невозможным возврат к заводской прошивке, если у вас нет полной резервной копии флэш-памяти для этой конкретной камеры! Чтобы создать полную резервную копию прошивки, запустите TFTP-сервер и выполните эти команды в оболочке загрузчика.
more_info_html: Пожалуйста, обратитесь к инструкциям по установке в вики проекта для получения дополнительной информации.
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 9882ea9..beda5d2 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -67,6 +67,7 @@ zh:
firmware:
info_html: 如果您想详细了解 %{commands} 命令的作用,请在引导加载程序控制台中执行printenv 。
installation:
+ attention: 注意!
backup:
info: OpenIPC U-Boot 会覆盖原始的加密分区,因此无法恢复为出厂固件,除非您拥有此特定摄像机的完整闪存备份!要创建完整的固件备份,请启动 TFTP 服务器并在引导加载程序 shell 中执行这些命令。
more_info_html: 有关详细信息,请参阅项目 wiki 中的安装说明。
diff --git a/test/controllers/socs_controller_test.rb b/test/controllers/socs_controller_test.rb
index d3eec78..5f1fc57 100644
--- a/test/controllers/socs_controller_test.rb
+++ b/test/controllers/socs_controller_test.rb
@@ -551,6 +551,54 @@ def assert_told_to_remap_partitions(vendor_name)
assert_told_to_remap_partitions('Ingenic')
end
+ # --- the pages that send the visitor to the wiki instead ---
+
+ # These two render their own template and no commands at all. The heading was
+ # a hardcoded English "Attention!" on both, and the SigmaStar one carried a
+ # stray `>` after the ERB tag that reached the page as literal text --
+ # "...not included in this guide.>". Both are visible on openipc.org today.
+ # Asserted in Russian on purpose. The English translation of this heading is
+ # the word that was hardcoded, so an English assertion passes either way and
+ # proves nothing.
+ def assert_heading_is_translated
+ assert_match %(