Added missing 'like' / 'unlike' translation

This commit is contained in:
Lucas Bartholemy 2014-09-17 00:47:16 +02:00
parent 76844732e5
commit ec04639f9f
12 changed files with 58 additions and 2 deletions

View File

@ -17,6 +17,8 @@
* NOTE, this file must be saved in UTF-8 encoding.
*/
return array (
'Like' => '',
'Unlike' => '',
' likes this.' => ' gefällt das.',
'<strong>You</strong> like this.' => '<strong>Dir</strong> gefällt das.',
'<strong>You</strong><br>' => '<strong>Dir</strong><br>',

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -1,5 +1,24 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE, this file must be saved in UTF-8 encoding.
*/
return array (
'Like' => '',
'Unlike' => '',
' likes this.' => ' piace questo.',
'<strong>You</strong> like this.' => '<strong>Ti piace</strong>.',
'<strong>You</strong><br>' => '<strong>Tu</strong><br>',

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -17,6 +17,8 @@
* NOTE, this file must be saved in UTF-8 encoding.
*/
return array (
'Like' => '',
'Unlike' => '',
' likes this.' => ' нравится это',
'<strong>You</strong> like this.' => '<strong>Вам</strong> это нравится.',
'<strong>You</strong><br>' => '<strong>Вы</strong><br>',

View File

@ -20,5 +20,7 @@ return array (
' likes this.' => '',
'<strong>You</strong> like this.' => '',
'<strong>You</strong><br>' => '',
'Like' => '',
'Unlike' => '',
'and {count} more like this.' => '',
);

View File

@ -1,5 +1,24 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE, this file must be saved in UTF-8 encoding.
*/
return array (
'Like' => '',
'Unlike' => '',
' likes this.' => 'beğendi.',
'<strong>You</strong> like this.' => '<strong>Bunu</strong> beğendin.',
'<strong>You</strong><br>' => '<strong>Sen</strong><br>',

View File

@ -13,9 +13,9 @@
*/
?>
<a href="#" id="<?php echo $id . "-LikeLink"; ?>" class="like likeAnchor"
style="<?php if ($currentUserLiked): ?>display:none<?php endif; ?>">Like</a>
style="<?php if ($currentUserLiked): ?>display:none<?php endif; ?>"><?php echo Yii::t('LikeModule.widgets_views_likeLink', 'Like'); ?></a>
<a href="#" id="<?php echo $id . "-UnlikeLink"; ?>" class="unlike likeAnchor"
style="<?php if (!$currentUserLiked): ?>display:none<?php endif; ?>">Unlike</a>
style="<?php if (!$currentUserLiked): ?>display:none<?php endif; ?>"><?php echo Yii::t('LikeModule.widgets_views_likeLink', 'Unlike'); ?></a>
<?php
$userlist = ""; // variable for users output