fixes #2235 Chinese text is not displayed on one line (#2282)

Add missing translations
Fix Chinese not displayed on one line with width fit-content
This commit is contained in:
winstoy 2025-01-08 20:56:20 +08:00 committed by GitHub
parent 5b7fffe786
commit 94148e0323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 3 deletions

View file

@ -181,7 +181,7 @@ usersCache.selectize(jQuery('select.UserSearch'));
<fieldset> <fieldset>
<div class="addGroupFormLabelAndInput"> <div class="addGroupFormLabelAndInput">
<label class="addGroupLabel" for="addGroupNameInput">{'Group name'|translate}</label> <label class="addGroupLabel" for="addGroupNameInput">{'Group name'|translate}</label>
<input type="text" id="addGroupNameInput" name="groupname" maxlength="50" size="20" placeholder="Photographers..."> <input type="text" id="addGroupNameInput" name="groupname" maxlength="50" size="20" placeholder="{'Photographers...'|translate}">
</div> </div>
<div class="actionButtons"> <div class="actionButtons">
<button name="submit" type="submit" class="buttonLike"> <button name="submit" type="submit" class="buttonLike">

View file

@ -1443,6 +1443,7 @@ $(document).ready(function() {
.user-container-status { .user-container-status {
width:10%; width:10%;
max-width: 110px; max-width: 110px;
width: auto;
} }
.user-header-email, .user-header-email,

View file

@ -7218,7 +7218,7 @@ color:#FF7B00;
} }
.breadcrumb-item.add-item { .breadcrumb-item.add-item {
width: min-content; width: fit-content;
cursor: pointer; cursor: pointer;
color: #777; color: #777;
transition: 0.3s; transition: 0.3s;

View file

@ -233,3 +233,7 @@ $lang['%d users deleted'] = '%d users deleted';
$lang['%d users were not updated.'] = '%d users not updated.'; $lang['%d users were not updated.'] = '%d users not updated.';
$lang['%d users were updated.'] = '%d users updated.'; $lang['%d users were updated.'] = '%d users updated.';
$lang['%d waiting for validation'] = '%d waiting for validation'; $lang['%d waiting for validation'] = '%d waiting for validation';
$lang['Rename album'] = 'Rename album';
$lang['Preview'] = 'Preview';
$lang['Privacy Level'] = 'Privacy Level';
$lang['Photographers...'] = 'Photographers...';

View file

@ -1378,3 +1378,7 @@ $lang['An error has occured'] = '发生了错误';
$lang['Added on %s'] = '添加到%s'; $lang['Added on %s'] = '添加到%s';
$lang['Add a sub-album to “%s”'] = '在“%s”中添加子相册'; $lang['Add a sub-album to “%s”'] = '在“%s”中添加子相册';
$lang['Activate create mode to create and select an album'] = '激活创建模式以创建和选择相册'; $lang['Activate create mode to create and select an album'] = '激活创建模式以创建和选择相册';
$lang['Rename album'] = '重命名相册';
$lang['Preview'] = '预览';
$lang['Privacy Level'] = '隐私等级';
$lang['Photographers...'] = '摄影团队';