From 768da4fc7e1fe76d8244b4e36f7f89fab728e489 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 24 Sep 2009 14:44:14 -0700 Subject: [PATCH] i18n the owner label in the Thing group properties. --- lib/WebGUI/Asset/Wobject/Thingy.pm | 2 +- lib/WebGUI/i18n/English/Asset_Thingy.pm | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Wobject/Thingy.pm b/lib/WebGUI/Asset/Wobject/Thingy.pm index 482e00719..c8a9e1d1c 100644 --- a/lib/WebGUI/Asset/Wobject/Thingy.pm +++ b/lib/WebGUI/Asset/Wobject/Thingy.pm @@ -1927,7 +1927,7 @@ sub www_editThing { ); # create the options hash for the 'Who can edit' and 'Who can view' selectBoxes. - %editViewOptions = ('owner'=>'owner',$session->db->buildHash( + %editViewOptions = ('owner'=>$i18n->get('owner'),$session->db->buildHash( "select groupId,groupName from groups where showInForms=1 order by groupName" )); diff --git a/lib/WebGUI/i18n/English/Asset_Thingy.pm b/lib/WebGUI/i18n/English/Asset_Thingy.pm index ce36df32e..5a8468cea 100644 --- a/lib/WebGUI/i18n/English/Asset_Thingy.pm +++ b/lib/WebGUI/i18n/English/Asset_Thingy.pm @@ -149,6 +149,12 @@ wobject can always view and edit all data.|, lastUpdated => 1223372150, }, + 'owner' => { + message => q|Owner|, + lastUpdated => 1253828331, + context => q|The person who owns, or submits, or creates a row of data in the Thingy.| + }, + 'save button label label' => { message => q|Save Button Label|, lastUpdated => 1104630516,