Users: Translate some text in interface settings

This commit is contained in:
Maxim Leshchenko 2022-05-22 20:31:25 +01:00
parent 91d852e071
commit 0d86837699
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE
3 changed files with 21 additions and 7 deletions

View file

@ -479,24 +479,24 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">NSFW-контент</span>
<span class="nobold">{_ui_settings_nsfw_content}</span>
</td>
<td>
<select name="nsfw">
<option value="0" {if $user->getNsfwTolerance() === 0}selected{/if}>Не показывать в глобальной ленте</option>
<option value="1" {if $user->getNsfwTolerance() === 1}selected{/if}>Только замазывать</option>
<option value="2" {if $user->getNsfwTolerance() === 2}selected{/if}>Показывать</option>
<option value="0" {if $user->getNsfwTolerance() === 0}selected{/if}>{_ui_settings_nsfw_content_dont_show}</option>
<option value="1" {if $user->getNsfwTolerance() === 1}selected{/if}>{_ui_settings_nsfw_content_blur}</option>
<option value="2" {if $user->getNsfwTolerance() === 2}selected{/if}>{_ui_settings_nsfw_content_show}</option>
</select>
</td>
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">Вид постов</span>
<span class="nobold">{_ui_settings_view_of_posts}</span>
</td>
<td>
<select name="microblog">
<option value="0" {if !$user->hasMicroblogEnabled()}selected{/if}>Старый</option>
<option value="1" {if $user->hasMicroblogEnabled()}selected{/if}>Микроблог</option>
<option value="0" {if !$user->hasMicroblogEnabled()}selected{/if}>{_ui_settings_view_of_posts_old}</option>
<option value="1" {if $user->hasMicroblogEnabled()}selected{/if}>{_ui_settings_view_of_posts_microblog}</option>
</select>
</td>
</tr>

View file

@ -456,6 +456,13 @@
"ui_settings_rating" = "Rating";
"ui_settings_rating_show" = "Show";
"ui_settings_rating_hide" = "Hide";
"ui_settings_nsfw_content" = "NSFW content";
"ui_settings_nsfw_content_dont_show" = "Don't show in global feed";
"ui_settings_nsfw_content_blur" = "Just blur";
"ui_settings_nsfw_content_show" = "Show";
"ui_settings_view_of_posts" = "View of posts";
"ui_settings_view_of_posts_old" = "Old";
"ui_settings_view_of_posts_microblog" = "Microblog";
"additional_links" = "Additional links";
"ad_poster" = "Ad poster";

View file

@ -484,6 +484,13 @@
"ui_settings_rating" = "Рейтинг";
"ui_settings_rating_show" = "Показывать";
"ui_settings_rating_hide" = "Скрывать";
"ui_settings_nsfw_content" = "NSFW-контент";
"ui_settings_nsfw_content_dont_show" = "Не показывать в глобальной ленте";
"ui_settings_nsfw_content_blur" = "Только замазывать";
"ui_settings_nsfw_content_show" = "Показывать";
"ui_settings_view_of_posts" = "Вид постов";
"ui_settings_view_of_posts_old" = "Старый";
"ui_settings_view_of_posts_microblog" = "Микроблог";
"additional_links" = "Дополнительные ссылки";
"ad_poster" = "Рекламный плакат";