Other Misc Updates

merge-requests/173/head
_Neo_ 2025-10-15 23:08:21 +03:00
parent 79f3ea5cfa
commit 1d86653c9d
5 changed files with 73 additions and 45 deletions

View File

@ -2746,25 +2746,25 @@
"ID": "CreateCustomConfigurationToolTip",
"Translations": {
"ar_SA": "ينشئ تكوينًا مستقلًا للعبة الحالية",
"de_DE": "Erstellt eine unabhängige Konfiguration für das aktuelle Spiel",
"el_GR": "Δημιουργεί μια ανεξάρτητη διαμόρφωση για το τρέχον παιχνίδι",
"en_US": "Creates an independent configuration for the selected game",
"es_ES": "Crea una configuración independiente para el juego actual",
"fr_FR": "Crée une configuration indépendante pour le jeu sélectionné",
"de_DE": "Erstellt eine unabhängige Konfiguration für das aktuelle Spiel.",
"el_GR": "Δημιουργεί μια ανεξάρτητη διαμόρφωση για το τρέχον παιχνίδι.",
"en_US": "Creates an independent configuration for the selected game.",
"es_ES": "Crea una configuración independiente para el juego actual.",
"fr_FR": "Crée une configuration indépendante pour le jeu sélectionné.",
"he_IL": "יוצר תצורה עצמאית למשחק הנוכחי",
"it_IT": "Crea una configurazione indipendente per il gioco attuale",
"ja_JP": "現在のゲーム用の独立した設定を作成します",
"ko_KR": "현재 게임에 대한 독립적인 설정을 생성합니다",
"no_NO": "Oppretter en uavhengig konfigurasjon for det gjeldende spillet",
"pl_PL": "Tworzy niezależną konfigurację dla bieżącej gry",
"pt_BR": "Cria uma configuração independente para o jogo atual",
"ru_RU": "Создаёт независимую конфигурацию для выбранной игры",
"sv_SE": "Skapar en oberoende konfiguration för det aktuella spelet",
"it_IT": "Crea una configurazione indipendente per il gioco attuale.",
"ja_JP": "現在のゲーム用の独立した設定を作成します",
"ko_KR": "현재 게임에 대한 독립적인 설정을 생성합니다.",
"no_NO": "Oppretter en uavhengig konfigurasjon for det gjeldende spillet.",
"pl_PL": "Tworzy niezależną konfigurację dla bieżącej gry.",
"pt_BR": "Cria uma configuração independente para o jogo atual.",
"ru_RU": "Создаёт независимую конфигурацию для выбранной игры.",
"sv_SE": "Skapar en oberoende konfiguration för det aktuella spelet.",
"th_TH": "สร้างการกำหนดค่าที่เป็นอิสระสำหรับเกมปัจจุบัน",
"tr_TR": "Mevcut oyun için bağımsız bir yapılandırma oluşturur",
"uk_UA": "Створюйте незалежну конфігурацію для поточної гри",
"zh_CN": "为当前游戏创建独立的配置",
"zh_TW": "為已選擇的遊戲建立遊戲獨立自訂 (game-specific) 的設定檔"
"tr_TR": "Mevcut oyun için bağımsız bir yapılandırma oluşturur.",
"uk_UA": "Створює незалежну конфігурацію для поточної гри.",
"zh_CN": "为当前游戏创建独立的配置",
"zh_TW": "為已選擇的遊戲建立獨立設定檔"
}
},
{
@ -11969,28 +11969,53 @@
}
},
{
"ID": "GameListContextMenuToggleFavorite",
"ID": "GameListContextMenuAddToFavorites",
"Translations": {
"ar_SA": "تعيين كمفضل",
"de_DE": "Als Favoriten hinzufügen/entfernen",
"el_GR": "Εναλλαγή Αγαπημένου",
"en_US": "Toggle Favorite",
"es_ES": "Marcar Favorito",
"fr_FR": "Basculer Favori",
"he_IL": "למתג העדפה",
"it_IT": "Preferito",
"ja_JP": "お気に入りを切り替え",
"ko_KR": "즐겨찾기 전환",
"no_NO": "Vis/Skjul favoritter",
"pl_PL": "Przełącz na ulubione",
"pt_BR": "Marcar como Favorito",
"ru_RU": "Добавить/Убрать статус избранного",
"sv_SE": "Växla som favorit",
"th_TH": "สลับรายการโปรด",
"tr_TR": "Favori Ayarla",
"uk_UA": "Додати в обрані",
"zh_CN": "收藏",
"zh_TW": "加入/移除為我的最愛"
"ar_SA": "أضف إلى المفضلة",
"de_DE": "Zu Favoriten hinzufügen",
"el_GR": "Προσθήκη στα αγαπημένα",
"en_US": "Add to Favorites",
"es_ES": "Agregar a Favoritos",
"fr_FR": "Ajouter aux Favoris",
"he_IL": "הוסף למועדפים",
"it_IT": "Aggiungi ai preferiti",
"ja_JP": "お気に入りに追加",
"ko_KR": "즐겨찾기에 추가",
"no_NO": "Legg til i favoritter",
"pl_PL": "Dodaj do ulubionych",
"pt_BR": "Adicionar aos Favoritos",
"ru_RU": "Добавить в Избранное",
"sv_SE": "Lägg till i favoriter",
"th_TH": "เพิ่มไปยังรายการโปรด",
"tr_TR": "Favorilere Ekle",
"uk_UA": "Додати в обране",
"zh_CN": "添加到收藏夹",
"zh_TW": "加入最愛"
}
},
{
"ID": "GameListContextMenuRemoveFromFavorites",
"Translations": {
"ar_SA": "إزالة من المفضلة",
"de_DE": "Aus den Favoriten entfernen",
"el_GR": "Αφαίρεση από τα αγαπημένα",
"en_US": "Remove from Favorites",
"es_ES": "Eliminar de Favoritos",
"fr_FR": "Retirer des Favoris",
"he_IL": "הסר מהמועדפים",
"it_IT": "Rimuovi dai preferiti",
"ja_JP": "お気に入りから削除",
"ko_KR": "즐겨찾기에서 제거",
"no_NO": "Fjern fra favoritter",
"pl_PL": "Usuń z ulubionych",
"pt_BR": "Remover dos Favoritos",
"ru_RU": "Удалить из Избранного",
"sv_SE": "Ta bort från favoriter",
"th_TH": "ลบออกจากรายการโปรด",
"tr_TR": "Favorilerden Kaldır",
"uk_UA": "Видалити з обраного",
"zh_CN": "从收藏夹中移除",
"zh_TW": "從最愛中移除"
}
},
{

View File

@ -13,7 +13,7 @@
<MenuItem
Command="{Binding ToggleFavorite}"
CommandParameter="{Binding}"
Header="{ext:Locale GameListContextMenuToggleFavorite}"
Header="{Binding FavoriteStatusText}"
Icon="{ext:Icon fa-solid fa-star}" />
<MenuItem
Command="{Binding CreateApplicationShortcut}"

View File

@ -1964,6 +1964,8 @@ namespace Ryujinx.Ava.UI.ViewModels
}
);
public string FavoriteStatusText => SelectedApplication?.Favorite == false ? LocaleManager.Instance[LocaleKeys.GameListContextMenuAddToFavorites] : LocaleManager.Instance[LocaleKeys.GameListContextMenuRemoveFromFavorites];
public static RelayCommand<MainWindowViewModel> CreateApplicationShortcut { get; } =
Commands.CreateConditional<MainWindowViewModel>(vm => vm?.SelectedApplication != null,
viewModel => ShortcutHelper.CreateAppShortcut(

View File

@ -17,13 +17,14 @@
<Design.DataContext>
<viewModels:UserProfileViewModel />
</Design.DataContext>
<Grid HorizontalAlignment="Stretch"
<Grid Margin="10" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch" RowDefinitions="*,Auto">
<Border
CornerRadius="5"
BorderBrush="{DynamicResource AppListHoverBackgroundColor}"
BorderThickness="1"
Grid.Row="0">
Grid.Row="0"
Padding="2.5">
<Panel>
<ListBox
HorizontalAlignment="Stretch"
@ -32,11 +33,10 @@
<ListBox.ItemTemplate>
<DataTemplate>
<Border
Margin="2"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
ClipToBounds="True"
CornerRadius="5">
CornerRadius="4">
<Grid Margin="0" ColumnDefinitions="*,Auto">
<TextBlock
HorizontalAlignment="Stretch"
@ -61,7 +61,7 @@
</Border>
<StackPanel
Grid.Row="1"
Margin="0 24 0 0"
Margin="0,30,0,0"
Orientation="Horizontal">
<Button
Width="50"

View File

@ -24,6 +24,7 @@
Grid.Row="0"
HorizontalAlignment="Stretch" ColumnDefinitions="Auto,*">
<StackPanel
Margin="0,0,0,10"
Spacing="10"
Orientation="Horizontal"
HorizontalAlignment="Left"
@ -70,7 +71,7 @@
<Grid
Grid.Column="1"
HorizontalAlignment="Stretch"
Margin="10,0,0,0" ColumnDefinitions="Auto,*">
Margin="20,0,0,10" ColumnDefinitions="Auto,*">
<TextBox
Margin="5,0,0,0"
Grid.Column="1"