Skip to content

Commit d0f69d5

Browse files
committed
Updated IconsPage and version number.
1 parent 475cd3f commit d0f69d5

File tree

7 files changed

+41
-5
lines changed

7 files changed

+41
-5
lines changed

PassXYZ.Vault/PassXYZ.Vault.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<!-- Versions -->
3131
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
32-
<ApplicationVersion>4</ApplicationVersion>
32+
<ApplicationVersion>5</ApplicationVersion>
3333

3434
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
3535
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
@@ -47,8 +47,8 @@
4747
<GenerateTemporaryStoreCertificate>True</GenerateTemporaryStoreCertificate>
4848
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
4949
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
50-
<AssemblyVersion>1.1.0.0</AssemblyVersion>
51-
<FileVersion>1.1.0.0</FileVersion>
50+
<AssemblyVersion>2.1.0.0</AssemblyVersion>
51+
<FileVersion>2.1.0.0</FileVersion>
5252
</PropertyGroup>
5353

5454
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0-ios'">

PassXYZ.Vault/Properties/Resources.Designer.cs

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PassXYZ.Vault/Properties/Resources.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,4 +1079,10 @@ You can always go to PassXYZ website to find the latest Privacy Notice.</value>
10791079
<data name="message_id_alert_deleting" xml:space="preserve">
10801080
<value>Do you want to delete</value>
10811081
</data>
1082+
<data name="message_id_select_icon" xml:space="preserve">
1083+
<value>Please select a icon</value>
1084+
</data>
1085+
<data name="message_id_selected_icon" xml:space="preserve">
1086+
<value>The selected icon is </value>
1087+
</data>
10821088
</root>

PassXYZ.Vault/Properties/Resources.zh-Hans.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,4 +1033,10 @@ PassXYZ应用帮助存储您的个人数据在本地设备并使用KeePass 加
10331033
<data name="message_id_alert_deleting" xml:space="preserve">
10341034
<value>你想删除</value>
10351035
</data>
1036+
<data name="message_id_select_icon" xml:space="preserve">
1037+
<value>请选择一个图标</value>
1038+
</data>
1039+
<data name="message_id_selected_icon" xml:space="preserve">
1040+
<value>选择的图标是</value>
1041+
</data>
10361042
</root>

PassXYZ.Vault/Properties/Resources.zh-Hant.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,4 +1033,10 @@ PassXYZ應用幫助存儲您的個人數據在本地設備並使用KeePass 加
10331033
<data name="message_id_alert_deleting" xml:space="preserve">
10341034
<value>妳想刪除</value>
10351035
</data>
1036+
<data name="message_id_select_icon" xml:space="preserve">
1037+
<value>請選擇一個圖標</value>
1038+
</data>
1039+
<data name="message_id_selected_icon" xml:space="preserve">
1040+
<value>選擇的圖標是</value>
1041+
</data>
10361042
</root>

PassXYZ.Vault/Views/IconsPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ContentPage.ToolbarItems>
2727

2828
<Grid RowDefinitions="Auto,Auto,*">
29-
<Label x:Name="selectedIcon" Text="Please select a icon"
29+
<Label x:Name="selectedIcon" Text="{x:Static resources:Resources.message_id_select_icon}"
3030
HorizontalTextAlignment="Start"
3131
Margin="20" Grid.Row="0"/>
3232

PassXYZ.Vault/Views/IconsPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void OnImageButtonClicked(object? sender, EventArgs e)
5353
{
5454
var glyph = glyphs.FirstOrDefault(x => x.Value == fontImageSource.Glyph);
5555
Debug.WriteLine($"ImageButton clicked with Glyph: {glyph.Key}");
56-
selectedIcon.Text = $"The selected icon is {glyph.Key}.";
56+
selectedIcon.Text = $"{Properties.Resources.message_id_selected_icon}{glyph.Key}.";
5757
// searchBar.Text = glyph.Key;
5858
selectedFontIcon = new PxFontIcon { FontFamily = selectedFontFamilyName, Glyph = glyph.Value };
5959
if(selectedFontImageSource != null)

0 commit comments

Comments
 (0)