Other Misc Updates
parent
79f3ea5cfa
commit
1d86653c9d
|
|
@ -2746,25 +2746,25 @@
|
||||||
"ID": "CreateCustomConfigurationToolTip",
|
"ID": "CreateCustomConfigurationToolTip",
|
||||||
"Translations": {
|
"Translations": {
|
||||||
"ar_SA": "ينشئ تكوينًا مستقلًا للعبة الحالية",
|
"ar_SA": "ينشئ تكوينًا مستقلًا للعبة الحالية",
|
||||||
"de_DE": "Erstellt eine unabhängige Konfiguration für das aktuelle Spiel",
|
"de_DE": "Erstellt eine unabhängige Konfiguration für das aktuelle Spiel.",
|
||||||
"el_GR": "Δημιουργεί μια ανεξάρτητη διαμόρφωση για το τρέχον παιχνίδι",
|
"el_GR": "Δημιουργεί μια ανεξάρτητη διαμόρφωση για το τρέχον παιχνίδι.",
|
||||||
"en_US": "Creates an independent configuration for the selected game",
|
"en_US": "Creates an independent configuration for the selected game.",
|
||||||
"es_ES": "Crea una configuración independiente para el juego actual",
|
"es_ES": "Crea una configuración independiente para el juego actual.",
|
||||||
"fr_FR": "Crée une configuration indépendante pour le jeu sélectionné",
|
"fr_FR": "Crée une configuration indépendante pour le jeu sélectionné.",
|
||||||
"he_IL": "יוצר תצורה עצמאית למשחק הנוכחי",
|
"he_IL": "יוצר תצורה עצמאית למשחק הנוכחי",
|
||||||
"it_IT": "Crea una configurazione indipendente per il gioco attuale",
|
"it_IT": "Crea una configurazione indipendente per il gioco attuale.",
|
||||||
"ja_JP": "現在のゲーム用の独立した設定を作成します",
|
"ja_JP": "現在のゲーム用の独立した設定を作成します。",
|
||||||
"ko_KR": "현재 게임에 대한 독립적인 설정을 생성합니다",
|
"ko_KR": "현재 게임에 대한 독립적인 설정을 생성합니다.",
|
||||||
"no_NO": "Oppretter en uavhengig konfigurasjon for det gjeldende spillet",
|
"no_NO": "Oppretter en uavhengig konfigurasjon for det gjeldende spillet.",
|
||||||
"pl_PL": "Tworzy niezależną konfigurację dla bieżącej gry",
|
"pl_PL": "Tworzy niezależną konfigurację dla bieżącej gry.",
|
||||||
"pt_BR": "Cria uma configuração independente para o jogo atual",
|
"pt_BR": "Cria uma configuração independente para o jogo atual.",
|
||||||
"ru_RU": "Создаёт независимую конфигурацию для выбранной игры",
|
"ru_RU": "Создаёт независимую конфигурацию для выбранной игры.",
|
||||||
"sv_SE": "Skapar en oberoende konfiguration för det aktuella spelet",
|
"sv_SE": "Skapar en oberoende konfiguration för det aktuella spelet.",
|
||||||
"th_TH": "สร้างการกำหนดค่าที่เป็นอิสระสำหรับเกมปัจจุบัน",
|
"th_TH": "สร้างการกำหนดค่าที่เป็นอิสระสำหรับเกมปัจจุบัน",
|
||||||
"tr_TR": "Mevcut oyun için bağımsız bir yapılandırma oluşturur",
|
"tr_TR": "Mevcut oyun için bağımsız bir yapılandırma oluşturur.",
|
||||||
"uk_UA": "Створюйте незалежну конфігурацію для поточної гри",
|
"uk_UA": "Створює незалежну конфігурацію для поточної гри.",
|
||||||
"zh_CN": "为当前游戏创建独立的配置",
|
"zh_CN": "为当前游戏创建独立的配置。",
|
||||||
"zh_TW": "為已選擇的遊戲建立遊戲獨立自訂 (game-specific) 的設定檔"
|
"zh_TW": "為已選擇的遊戲建立獨立設定檔。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -11969,28 +11969,53 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ID": "GameListContextMenuToggleFavorite",
|
"ID": "GameListContextMenuAddToFavorites",
|
||||||
"Translations": {
|
"Translations": {
|
||||||
"ar_SA": "تعيين كمفضل",
|
"ar_SA": "أضف إلى المفضلة",
|
||||||
"de_DE": "Als Favoriten hinzufügen/entfernen",
|
"de_DE": "Zu Favoriten hinzufügen",
|
||||||
"el_GR": "Εναλλαγή Αγαπημένου",
|
"el_GR": "Προσθήκη στα αγαπημένα",
|
||||||
"en_US": "Toggle Favorite",
|
"en_US": "Add to Favorites",
|
||||||
"es_ES": "Marcar Favorito",
|
"es_ES": "Agregar a Favoritos",
|
||||||
"fr_FR": "Basculer Favori",
|
"fr_FR": "Ajouter aux Favoris",
|
||||||
"he_IL": "למתג העדפה",
|
"he_IL": "הוסף למועדפים",
|
||||||
"it_IT": "Preferito",
|
"it_IT": "Aggiungi ai preferiti",
|
||||||
"ja_JP": "お気に入りを切り替え",
|
"ja_JP": "お気に入りに追加",
|
||||||
"ko_KR": "즐겨찾기 전환",
|
"ko_KR": "즐겨찾기에 추가",
|
||||||
"no_NO": "Vis/Skjul favoritter",
|
"no_NO": "Legg til i favoritter",
|
||||||
"pl_PL": "Przełącz na ulubione",
|
"pl_PL": "Dodaj do ulubionych",
|
||||||
"pt_BR": "Marcar como Favorito",
|
"pt_BR": "Adicionar aos Favoritos",
|
||||||
"ru_RU": "Добавить/Убрать статус избранного",
|
"ru_RU": "Добавить в Избранное",
|
||||||
"sv_SE": "Växla som favorit",
|
"sv_SE": "Lägg till i favoriter",
|
||||||
"th_TH": "สลับรายการโปรด",
|
"th_TH": "เพิ่มไปยังรายการโปรด",
|
||||||
"tr_TR": "Favori Ayarla",
|
"tr_TR": "Favorilere Ekle",
|
||||||
"uk_UA": "Додати в обрані",
|
"uk_UA": "Додати в обране",
|
||||||
"zh_CN": "收藏",
|
"zh_CN": "添加到收藏夹",
|
||||||
"zh_TW": "加入/移除為我的最愛"
|
"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": "從最愛中移除"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<MenuItem
|
<MenuItem
|
||||||
Command="{Binding ToggleFavorite}"
|
Command="{Binding ToggleFavorite}"
|
||||||
CommandParameter="{Binding}"
|
CommandParameter="{Binding}"
|
||||||
Header="{ext:Locale GameListContextMenuToggleFavorite}"
|
Header="{Binding FavoriteStatusText}"
|
||||||
Icon="{ext:Icon fa-solid fa-star}" />
|
Icon="{ext:Icon fa-solid fa-star}" />
|
||||||
<MenuItem
|
<MenuItem
|
||||||
Command="{Binding CreateApplicationShortcut}"
|
Command="{Binding CreateApplicationShortcut}"
|
||||||
|
|
|
||||||
|
|
@ -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; } =
|
public static RelayCommand<MainWindowViewModel> CreateApplicationShortcut { get; } =
|
||||||
Commands.CreateConditional<MainWindowViewModel>(vm => vm?.SelectedApplication != null,
|
Commands.CreateConditional<MainWindowViewModel>(vm => vm?.SelectedApplication != null,
|
||||||
viewModel => ShortcutHelper.CreateAppShortcut(
|
viewModel => ShortcutHelper.CreateAppShortcut(
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,14 @@
|
||||||
<Design.DataContext>
|
<Design.DataContext>
|
||||||
<viewModels:UserProfileViewModel />
|
<viewModels:UserProfileViewModel />
|
||||||
</Design.DataContext>
|
</Design.DataContext>
|
||||||
<Grid HorizontalAlignment="Stretch"
|
<Grid Margin="10" HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch" RowDefinitions="*,Auto">
|
VerticalAlignment="Stretch" RowDefinitions="*,Auto">
|
||||||
<Border
|
<Border
|
||||||
CornerRadius="5"
|
CornerRadius="5"
|
||||||
BorderBrush="{DynamicResource AppListHoverBackgroundColor}"
|
BorderBrush="{DynamicResource AppListHoverBackgroundColor}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
Grid.Row="0">
|
Grid.Row="0"
|
||||||
|
Padding="2.5">
|
||||||
<Panel>
|
<Panel>
|
||||||
<ListBox
|
<ListBox
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
|
|
@ -32,11 +33,10 @@
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Border
|
<Border
|
||||||
Margin="2"
|
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
ClipToBounds="True"
|
ClipToBounds="True"
|
||||||
CornerRadius="5">
|
CornerRadius="4">
|
||||||
<Grid Margin="0" ColumnDefinitions="*,Auto">
|
<Grid Margin="0" ColumnDefinitions="*,Auto">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
</Border>
|
</Border>
|
||||||
<StackPanel
|
<StackPanel
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="0 24 0 0"
|
Margin="0,30,0,0"
|
||||||
Orientation="Horizontal">
|
Orientation="Horizontal">
|
||||||
<Button
|
<Button
|
||||||
Width="50"
|
Width="50"
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
HorizontalAlignment="Stretch" ColumnDefinitions="Auto,*">
|
HorizontalAlignment="Stretch" ColumnDefinitions="Auto,*">
|
||||||
<StackPanel
|
<StackPanel
|
||||||
|
Margin="0,0,0,10"
|
||||||
Spacing="10"
|
Spacing="10"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
|
|
@ -70,7 +71,7 @@
|
||||||
<Grid
|
<Grid
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Margin="10,0,0,0" ColumnDefinitions="Auto,*">
|
Margin="20,0,0,10" ColumnDefinitions="Auto,*">
|
||||||
<TextBox
|
<TextBox
|
||||||
Margin="5,0,0,0"
|
Margin="5,0,0,0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
|
|
|
||||||
Reference in New Issue