Skip to content

Commit

Permalink
Dev: Move colons (:) into translations so it will work with rtl locale
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jan 11, 2016
1 parent 9e0622f commit 52f111f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/views/admin/user/personalsettings.php
Expand Up @@ -12,7 +12,7 @@

<!-- Interface language -->
<div class="form-group">
<?php echo CHtml::label(gT("Interface language").':', 'lang', array('class'=>"col-sm-2 control-label")); ?>
<?php echo CHtml::label(gT("Interface language:"), 'lang', array('class'=>"col-sm-2 control-label")); ?>
<div class="col-sm-3">
<select id='lang' name='lang' class="form-control">
<option value='auto'<?php if ($sSavedLanguage == 'auto') { echo " selected='selected'"; } ?>>
Expand All @@ -32,7 +32,7 @@

<!-- HTML editor mode -->
<div class="form-group">
<?php echo CHtml::label(gT("HTML editor mode").':', 'htmleditormode', array('class'=>"col-sm-2 control-label")); ?>
<?php echo CHtml::label(gT("HTML editor mode:"), 'htmleditormode', array('class'=>"col-sm-2 control-label")); ?>
<div class="col-sm-3">
<?php
echo CHtml::dropDownList('htmleditormode', Yii::app()->session['htmleditormode'], array(
Expand All @@ -47,7 +47,7 @@

<!-- Question type selector -->
<div class="form-group">
<?php echo CHtml::label(gT("Question type selector").':', 'questionselectormode', array('class'=>"col-sm-2 control-label")); ?>
<?php echo CHtml::label(gT("Question type selector:"), 'questionselectormode', array('class'=>"col-sm-2 control-label")); ?>
<div class="col-sm-3">
<?php
echo CHtml::dropDownList('questionselectormode', Yii::app()->session['questionselectormode'], array(
Expand All @@ -61,7 +61,7 @@

<!-- Template editor mode -->
<div class="form-group">
<?php echo CHtml::label(gT("Template editor mode").':', 'templateeditormode', array('class'=>"col-sm-2 control-label")); ?>
<?php echo CHtml::label(gT("Template editor mode:"), 'templateeditormode', array('class'=>"col-sm-2 control-label")); ?>
<div class="col-sm-3">
<?php
echo CHtml::dropDownList('templateeditormode', Yii::app()->session['templateeditormode'], array(
Expand All @@ -75,7 +75,7 @@

<!-- Date format -->
<div class="form-group">
<?php echo CHtml::label( gT("Date format").':', 'dateformat', array('class'=>"col-sm-2 control-label")); ?>
<?php echo CHtml::label( gT("Date format:"), 'dateformat', array('class'=>"col-sm-2 control-label")); ?>
<div class="col-sm-3">
<select name='dateformat' id='dateformat' class="form-control">
<?php
Expand Down

1 comment on commit 52f111f

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in 3.0 and some part of 2.05 we remove the : direcltly and use only CSS to add it.

Maybe it's a good idea.

Please sign in to comment.