Skip to content

Commit

Permalink
Add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdubois committed Jun 15, 2020
1 parent 4221451 commit e6043fb
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 deletions.
10 changes: 5 additions & 5 deletions cd_officepack/cd_officepack.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
else{
$ajax=false;
}
print_item_header("Office Licences");
print_item_header($l->g(23004));
if (!isset($protectedPost['SHOW']))
$protectedPost['SHOW'] = 'NOSHOW';
$form_name="officepack";
Expand All @@ -27,10 +27,10 @@
$tab_options['form_name']=$form_name;
$tab_options['table_name']=$table_name;
echo open_form($form_name);
$list_fields=array( 'Product' => 'PRODUCT',
'Office Version' => 'OFFICEVERSION',
'Type' => 'TYPE',
'Office Key' => 'OFFICEKEY',
$list_fields=array( $l-g(23005) => 'PRODUCT',
$l->g(23006) => 'OFFICEVERSION',
$l->g(23007) => 'TYPE',
$l->g(23008) => 'OFFICEKEY',
);
$list_col_cant_del=$list_fields;
$default_fields= $list_fields;
Expand Down
7 changes: 7 additions & 0 deletions language/en_GB/en_GB.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
23000 Office Pack
23001 Office Key Management
23002 Licence number by version
23003 Licence number by accountinfo
23004 Office Licences
23005 Product
23006 Office version
23007 Type
23008 Key
8 changes: 8 additions & 0 deletions language/fr_FR/fr_FR.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
23000 Office Pack
23001 Office Key Management
23002 Nombre de licence par version
23003 Nombre de licence par données administratives
23004 Licences Office
23005 Produit
23006 Version office
23007 Type
23008 Clé

6 changes: 3 additions & 3 deletions ms_officepack/ms_officepack.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
}

// Start display page
printEnTete("Office Key Manager");
printEnTete($l->g(23001));
$form_name="officekey";

$data_on = array(
"1" => "Licenses number by version",
"2" => "Licenses by administrative data"
"1" => $l->g(23002),
"2" => $l->g(23003)
);

if(!isset($protectedPost['onglet'])){
Expand Down

0 comments on commit e6043fb

Please sign in to comment.