missing "parents" string in opsview-web/root/admin/host/tab-host

1 reply [Last post]
emisca's picture
emisca
User offline. Last seen 4 hours 56 min ago. Offline
Opsview Sensei - 5th DanOpsview Sensei - 4th DanOpsview Sensei - 3rd DanOpsview Sensei - 2nd DanOpsview Sensei - 1st Dan
Joined: 06 May 2010
Posts:
Points: 1685

Hi,
I've found a missing localized string in the admin - modify host page (opsview-web/root/admin/host/tab-host).

This is the fix:

# diff -u tab-host.orig tab-host
--- tab-host.orig Thu Sep 2 16:56:20 2010
+++ tab-host Thu Sep 2 16:57:02 2010
@@ -139,7 +139,7 @@

count = c.model('OpsviewDB::Host').count_all;
IF (! (ms AND ms.is_master)) AND ( (object AND count >= 2) OR (!object AND count >= 1) );
- field_label( form_label => "Parents: ", name => "parents", help_keyword => "parents" );
+ field_label( form_label => c.loc("ui.admin.host.edit.label.parents"), name => "parents", help_keyword => "parents" );
chosen_box = "parents";
fulllist_box = "parents_full";

Bye,
Emilio

0
Your rating: None
tonvoon's picture
tonvoon
User offline. Last seen 5 days 7 hours ago. Offline
Opsview Sensei - 1st Dan
Joined: 26 May 2010
Posts:
Points: 65

I've already updated trunk with this, but thanks for letting us know!

Your rating: None