Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change to labels for localization

/application/language/<language>/fi_lang.php
  • Loading branch information...
commit 728ed9b833b855dcea8a5c1816b98fbc774667e0 1 parent 7f67562
@klou authored
View
18 application/language/english/fi_lang.php
@@ -418,4 +418,22 @@
/** New or changed for 1.3.3 tag **/
$lang['documentation'] = 'Documentation';
+/** New or changed for Expenses module (includes MultiCurrency) **/
+$lang['expenses'] = 'Expenses';
+$lang['enter_expense'] = 'Enter Expense';
+$lang['view_expenses'] = 'View Expenses';
+$lang['expense_categories'] = 'Expense Categories';
+$lang['expense_category'] = 'Expense Category';
+$lang['currency_types'] = 'Currency Types';
+$lang['expense_form'] = 'Expense Form';
+$lang['currency'] = 'Currency';
+$lang['category'] = 'Category';
+$lang['expense_date'] = 'Expense Date';
+$lang['edit_category'] = 'Edit the Category';
+$lang['edit_currency'] = 'Edit the Currency';
+$lang['currencies'] = 'Currencies';
+
+
+
+
?>
View
4 application/modules/depense_methods/views/form.php
@@ -1,7 +1,7 @@
<form method="post" class="form-horizontal">
<div class="headerbar">
- <h1>Modification de la catégorie</h1>
+ <h1><?php echo lang('edit_category'); ?></h1>
<?php $this->layout->load_view('layout/header_buttons'); ?>
</div>
@@ -10,7 +10,7 @@
<?php $this->layout->load_view('layout/alerts'); ?>
<div class="control-group">
- <label class="control-label">Catégorie: </label>
+ <label class="control-label"><?php echo lang('category'); ?>: </label>
<div class="controls">
<input type="text" name="depense_method_name" id="depense_method_name" value="<?php echo $this->mdl_depense_methods->form_value('depense_method_name'); ?>">
</div>
View
4 application/modules/depense_methods/views/index.php
@@ -1,5 +1,5 @@
<div class="headerbar">
- <h1>Catégorie dépense</h1>
+ <h1><?php echo lang('expense_category'); ?></h1>
<div class="pull-right">
<a class="btn btn-primary" href="<?php echo site_url('depense_methods/form'); ?>"><i class="icon-plus icon-white"></i> <?php echo lang('new'); ?></a>
@@ -17,7 +17,7 @@
<thead>
<tr>
- <th>Catégorie</th>
+ <th><?php echo lang('category'); ?></th>
<th><?php echo lang('options'); ?></th>
</tr>
</thead>
View
6 application/modules/depenses/views/form.php
@@ -18,7 +18,7 @@
<?php } ?>
<div class="headerbar">
- <h1>Dépense</h1>
+ <h1><?php echo lang('expense_form'); ?></h1>
<?php $this->layout->load_view('layout/header_buttons'); ?>
</div>
@@ -42,7 +42,7 @@
</div>
<div class="control-group">
- <label class="control-label">Devise: </label>
+ <label class="control-label"><?php echo lang('currency'); ?>: </label>
<div class="controls">
<select name="iddevise">
<?php foreach ($devises as $devise) { ?>
@@ -58,7 +58,7 @@
<div class="control-group">
- <label class="control-label">Catégorie: </label>
+ <label class="control-label"><?php echo lang('category'); ?>: </label>
<div class="controls">
<select name="depense_method_id">
<option value="0"></option>
View
2  application/modules/depenses/views/index.php
@@ -1,5 +1,5 @@
<div class="headerbar">
- <h1>D&eacute;penses</h1>
+ <h1><?php echo lang('expenses'); ?></h1>
<div class="pull-right">
<a class="btn btn-primary" href="<?php echo site_url('depenses/form'); ?>"><i class="icon-plus icon-white"></i> <?php echo lang('new'); ?></a>
View
6 application/modules/depenses/views/modal_add_depense.php
@@ -38,7 +38,7 @@ function(data) {
<div id="enter-depense" class="modal hide fade">
<div class="modal-header">
<a data-dismiss="modal" class="close">×</a>
- <h3>Nouvelle dépense</h3>
+ <h3><?php echo lang('enter_expense'); ?></h3>
</div>
<div class="modal-body">
<form class="form-horizontal">
@@ -53,7 +53,7 @@ function(data) {
<div class="control-group">
- <label class="control-label">Date: </label>
+ <label class="control-label"><?php echo lang('date'); ?>: </label>
<div class="controls input-append date datepicker">
<input size="16" type="text" name="depense_date" id="depense_date" value="<?php echo date(date_format_setting()); ?>" readonly>
<span class="add-on"><i class="icon-th"></i></span>
@@ -63,7 +63,7 @@ function(data) {
<div class="control-group">
- <label class="control-label">Catégorie: </label>
+ <label class="control-label"><?php echo lang('category'); ?>: </label>
<div class="controls">
<select name="depense_method_id" id="depense_method_id">
<option value=""></option>
View
6 application/modules/depenses/views/partial_depense_table.php
@@ -2,10 +2,10 @@
<thead>
<tr>
- <th>Date dépense</th>
+ <th><?php echo lang('expense_date'); ?></th>
<th><?php echo lang('amount'); ?></th>
- <th>Devise</th>
- <th>Catégorie</th>
+ <th><?php echo lang('currency'); ?></th>
+ <th><?php echo lang('category'); ?></th>
<th><?php echo lang('note'); ?></th>
<th><?php echo lang('options'); ?></th>
</tr>
View
6 application/modules/devises/views/form.php
@@ -1,7 +1,7 @@
<form method="post" class="form-horizontal">
<div class="headerbar">
- <h1>Modification de la devise</h1>
+ <h1><?php echo lang('edit_currency'); ?></h1>
<?php $this->layout->load_view('layout/header_buttons'); ?>
</div>
@@ -9,11 +9,11 @@
<br>
<div class="control-group">
- <label class="control-label">Devise: </label>
+ <label class="control-label"><?php echo lang('currency'); ?>: </label>
<div class="controls">
<input type="text" name="nomdfr" id="nomdfr" value="<?php echo $this->mdl_devises->form_value('nomdfr'); ?>">
</div>
- <label class="control-label">Taux: </label>
+ <label class="control-label"><?php echo lang('tax'); ?>: </label>
<div class="controls">
<input type="text" name="taux" id="taux" value="<?php echo $this->mdl_devises->form_value('taux'); ?>">
</div>
View
6 application/modules/devises/views/index.php
@@ -1,5 +1,5 @@
<div class="headerbar">
- <h1>Type de devises</h1>
+ <h1><?php echo lang('currency_types'); ?></h1>
<div class="pull-right">
<a class="btn btn-primary" href="<?php echo site_url('devises/form'); ?>"><i class="icon-plus icon-white"></i> <?php echo lang('new'); ?></a>
@@ -17,8 +17,8 @@
<thead>
<tr>
- <th>Devises</th>
- <th>Taux</th>
+ <th><?php echo lang('currencies'); ?></th>
+ <th><?php echo lang('tax'); ?></th>
<th><?php echo lang('options'); ?></th>
</tr>
</thead>
View
12 application/modules/layout/views/layout.php
@@ -125,10 +125,10 @@
</li>
<li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dépenses<b class="caret"></b></a>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo lang('expenses'); ?><b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><?php echo anchor('depenses/form', "Nouvelle dépense"); ?></li>
- <li><?php echo anchor('depenses/index', "Voir dépenses"); ?></li>
+ <li><?php echo anchor('depenses/form', lang('enter_expense')); ?></li>
+ <li><?php echo anchor('depenses/index', lang('view_expenses')); ?></li>
</ul>
</li>
@@ -165,8 +165,8 @@
<li><?php echo anchor('item_lookups/index', lang('item_lookups')); ?></li>
<li><?php echo anchor('payment_methods/index', lang('payment_methods')); ?></li>
<li><?php echo anchor('tax_rates/index', lang('tax_rates')); ?></li>
- <li><?php echo anchor('devises/index', "Type devises"); ?></li>
- <li><?php echo anchor('depense_methods/index', "Catégorie Dépense"); ?></li>
+ <li><?php echo anchor('devises/index', lang('currency_types')); ?></li>
+ <li><?php echo anchor('depense_methods/index', lang('expense_categories')); ?></li>
<li><?php echo anchor('users/index', lang('user_accounts')); ?></li>
<li class="divider"></li>
<li><?php echo anchor('settings', lang('system_settings')); ?></li>
@@ -190,7 +190,7 @@
<li><a href="<?php echo site_url('quotes/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/quotes24x24.png" title="<?php echo lang('quotes'); ?>" /></a></li>
<li><a href="<?php echo site_url('invoices/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/invoices24x24.png" title="<?php echo lang('invoices'); ?>" /></a></li>
<li><a href="<?php echo site_url('payments/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/payments24x24.png" title="<?php echo lang('payments'); ?>" /></a></li>
- <li><a href="<?php echo site_url('depenses/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/depense.png" title="Dépense" /></a></li>
+ <li><a href="<?php echo site_url('depenses/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/depense.png" title="<?php echo lang('expenses'); ?>" /></a></li>
</ul>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.