mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Catch more strings for translation.
This commit is contained in:
parent
063894ee7b
commit
78fde7415c
@ -55,10 +55,11 @@ require_once("interactive-page.php");
|
|||||||
$c->page_title = translate("Relationship Types");
|
$c->page_title = translate("Relationship Types");
|
||||||
$browser = new Browser($c->page_title);
|
$browser = new Browser($c->page_title);
|
||||||
|
|
||||||
$browser->AddColumn( 'rt_id', 'Id' );
|
$browser->AddColumn( 'rt_id', translate('Id') );
|
||||||
$browser->AddColumn( 'rt_name', translate('Name') );
|
$browser->AddColumn( 'rt_name', translate('Name') );
|
||||||
$browser->AddColumn( 'confers', translate('Rights') );
|
$browser->AddColumn( 'confers', translate('Rights') );
|
||||||
$browser->AddColumn( 'action', translate("Action"), "", "", "'<a href=\"$c->base_url/relationship_types.php?action=delete&rt_id=' || rt_id || '\">".translate("Delete")."</a>'" );
|
$browser->AddColumn( 'action', translate("Action"), "", "", "'<a href=\"$c->base_url/relationship_types.php?action=delete&rt_id=' || rt_id || '\">".translate("Delete")."</a>'" );
|
||||||
|
$browser->SetTranslatable( array('rt_name') );
|
||||||
|
|
||||||
$browser->SetJoins( 'relationship_type' );
|
$browser->SetJoins( 'relationship_type' );
|
||||||
|
|
||||||
@ -78,11 +79,11 @@ require_once("interactive-page.php");
|
|||||||
$confers_field = new EntryField( "select", "confers",
|
$confers_field = new EntryField( "select", "confers",
|
||||||
array("title" => translate("Is this access read ('R') or Read and Write ('RW')?"),
|
array("title" => translate("Is this access read ('R') or Read and Write ('RW')?"),
|
||||||
"size" => "1",
|
"size" => "1",
|
||||||
'_A' => 'All',
|
'_A' => translate('All'),
|
||||||
'_R' => 'Read',
|
'_R' => translate('Read'),
|
||||||
'_F' => 'FreeBusy',
|
'_F' => translate('FreeBusy'),
|
||||||
'_W' => 'Write',
|
'_W' => translate('Write'),
|
||||||
'_RW' => 'ReadWrite') );
|
'_RW' => translate('ReadWrite')) );
|
||||||
|
|
||||||
$browser->AddRow( array(
|
$browser->AddRow( array(
|
||||||
'rt_id' => 'new',
|
'rt_id' => 'new',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user