mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-07-05 10:39:04 +00:00
Further adjustments to FirmwareAvatarSelector
This commit is contained in:
@@ -11220,26 +11220,26 @@
|
|||||||
{
|
{
|
||||||
"ID": "ProfileImageSelectionHeader",
|
"ID": "ProfileImageSelectionHeader",
|
||||||
"Translations": {
|
"Translations": {
|
||||||
"ar_SA": "اختر صورة الملف الشخصي",
|
"ar_SA": "تحديد أفاتار البرنامج الثابت",
|
||||||
"de_DE": "Wähle ein Profilbild aus",
|
"de_DE": "Firmware-Avatar auswählen",
|
||||||
"el_GR": "Επιλέξτε μία Εικόνα Προφίλ",
|
"el_GR": "Επιλογή Avatar Firmware",
|
||||||
"en_US": "Choose a Profile Image",
|
"en_US": "Select Firmware Avatar",
|
||||||
"es_ES": "Elige una Imagen de Perfil",
|
"es_ES": "Seleccionar Avatar del Firmware",
|
||||||
"fr_FR": "Choisir l'Image de Profil",
|
"fr_FR": "Sélection d’un Avatar du Firmware",
|
||||||
"he_IL": "בחרו תמונת פרופיל",
|
"he_IL": "בחירת אוואטר קושחה",
|
||||||
"it_IT": "Scegli un'immagine profilo",
|
"it_IT": "Selezione Avatar Firmware",
|
||||||
"ja_JP": "プロファイル画像を選択",
|
"ja_JP": "ファームウェアアバター選択",
|
||||||
"ko_KR": "프로필 이미지를 선택",
|
"ko_KR": "펌웨어 아바타 선택",
|
||||||
"no_NO": "Velg et profilbilde",
|
"no_NO": "Velg firmware-avatar",
|
||||||
"pl_PL": "Wybierz zdjęcie profilowe",
|
"pl_PL": "Wybór awatara oprogramowania",
|
||||||
"pt_BR": "Escolha uma Imagem de Perfil",
|
"pt_BR": "Selecionar Avatar do Firmware",
|
||||||
"ru_RU": "Выбор аватара",
|
"ru_RU": "Выбор аватара прошивки",
|
||||||
"sv_SE": "Välj en profilbild",
|
"sv_SE": "Välj firmware-avatar",
|
||||||
"th_TH": "เลือก รูปโปรไฟล์",
|
"th_TH": "การเลือกอวตารเฟิร์มแวร์",
|
||||||
"tr_TR": "Profil Resmi Seç",
|
"tr_TR": "Firmware Avatar Seçimi",
|
||||||
"uk_UA": "Виберіть аватара",
|
"uk_UA": "Вибір аватара прошивки",
|
||||||
"zh_CN": "选择合适的头像图片",
|
"zh_CN": "选择固件头像",
|
||||||
"zh_TW": "選擇設定檔圖像"
|
"zh_TW": "選取韌體頭像"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ namespace Ryujinx.Ava.UI.Views.User
|
|||||||
|
|
||||||
if (ViewModel.Image == null)
|
if (ViewModel.Image == null)
|
||||||
{
|
{
|
||||||
DataValidationErrors.SetError(ImageBox, new DataValidationException(LocaleManager.Instance[LocaleKeys.UserProfileEmptyNameError]));
|
DataValidationErrors.SetError(ImageBox, null);
|
||||||
ImageBox.BorderBrush = Brushes.Red;
|
ImageBox.BorderBrush = Brushes.Red;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -18,14 +18,20 @@
|
|||||||
<viewModels:UserFirmwareAvatarSelectorViewModel />
|
<viewModels:UserFirmwareAvatarSelectorViewModel />
|
||||||
</Design.DataContext>
|
</Design.DataContext>
|
||||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RowDefinitions="Auto,*,Auto,Auto">
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RowDefinitions="Auto,*,Auto,Auto">
|
||||||
|
<Border
|
||||||
|
Grid.Row="1"
|
||||||
|
Padding="2.5"
|
||||||
|
BorderThickness="1"
|
||||||
|
BorderBrush="{DynamicResource AppListHoverBackgroundColor}"
|
||||||
|
CornerRadius="5"
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
|
VerticalAlignment="Stretch">
|
||||||
<ListBox
|
<ListBox
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
BorderThickness="0"
|
Background="Transparent"
|
||||||
SelectedIndex="{Binding SelectedIndex}"
|
SelectedIndex="{Binding SelectedIndex}"
|
||||||
Height="400"
|
Height="400"
|
||||||
ItemsSource="{Binding Images}"
|
ItemsSource="{Binding Images}">
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Center">
|
|
||||||
<ListBox.ItemsPanel>
|
<ListBox.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
<WrapPanel
|
<WrapPanel
|
||||||
@@ -55,6 +61,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
|
</Border>
|
||||||
<StackPanel
|
<StackPanel
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
|
|||||||
Reference in New Issue
Block a user