Bug #2676

Nethgui: unwanted translation warnings

Added by Giacomo Sanchietti over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v6.5-final
Security class: Resolution:
Affected version:v6.5-rc1 NEEDINFO:No

Description

Any time the user navigates inside the web interface, the /var/log/messages is flooded by translation warnings like these:

Feb Feb 27 00:43:26 localhost httpd-admin: [NOTICE] Nethgui\View\Translator: `en` translation not found for `1:00`. Catalogs: [Nethgui, NethServer_Module_Dashboard, NethServer_Module_Dashboard_SystemStatus, NethServer_Module_Dashboard_SystemStatus_Backup, NethServer, Nethgui]
Feb 27 00:43:26 localhost httpd-admin: [NOTICE] Nethgui\View\Translator: `en` translation not found for `cifs`. Catalogs: [Nethgui, NethServer_Module_Dashboard, NethServer_Module_Dashboard_SystemStatus, NethServer_Module_Dashboard_SystemStatus_Backup, NethServer, Nethgui]
Feb 27 00:43:32 localhost httpd-admin: [NOTICE] Nethgui\View\Translator: `en` translation not found for `Status`. Catalogs: [NethServer_Module_Dashboard, NethServer, Nethgui]
Feb 27 00:43:34 localhost httpd-admin: [NOTICE] Nethgui\View\Translator: `en` translation not found for `Status`. Catalogs: [NethServer_Module_Dashboard, NethServer, Nethgui]
27 00:44:08 localhost httpd-admin: [NOTICE] Nethgui\View\Translator: `en` translation not found for `Status`. Catalogs: [NethServer_Module_Dashboard, NethServer, Nethgui]

Warnings should be hidden if debug is not enabled.

Associated revisions

Revision 1e403111
Added by Davide Principi over 7 years ago

Translator (translate): suppress translation lookup failures. Refs #2676

History

#1 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#2 Updated by Davide Principi over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#3 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

#4 Updated by Davide Principi over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-nethgui-1.4.0-1.0git1e403111.ns6.noarch.rpm

#5 Updated by Giacomo Sanchietti over 7 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

No more warnings in /var/log/messages.

Marking as VERIFIED.

#7 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-nethgui-1.4.1-1.ns6.noarch.rpm

Also available in: Atom PDF