1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

PS-70 added text labels to resource files

This commit is contained in:
André Bispo
2022-06-20 12:39:53 +01:00
parent c67229d235
commit 67fbd55ae9
3 changed files with 20 additions and 4 deletions

View File

@@ -211,12 +211,12 @@ namespace Bit.App.Pages
var fs = new FormattedString();
fs.Spans.Add(new Span
{
Text = "Upgrade to premium ",
Text = AppResources.UpgradeToPremium,
TextColor = ThemeManager.GetResourceColor("PrimaryColor")
});
fs.Spans.Add(new Span
{
Text = "to view verification codes",
Text = AppResources.ToViewVerificationCodes,
TextColor = ThemeManager.GetResourceColor("MutedColor")
});
return fs;

View File

@@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -10,7 +9,6 @@
namespace Bit.App.Resources {
using System;
using System.Reflection;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
@@ -4030,5 +4028,17 @@ namespace Bit.App.Resources {
return ResourceManager.GetString("DisplayItemsContainingTOTP", resourceCulture);
}
}
public static string UpgradeToPremium {
get {
return ResourceManager.GetString("UpgradeToPremium", resourceCulture);
}
}
public static string ToViewVerificationCodes {
get {
return ResourceManager.GetString("ToViewVerificationCodes", resourceCulture);
}
}
}
}

View File

@@ -2251,4 +2251,10 @@
<data name="DisplayItemsContainingTOTP" xml:space="preserve">
<value>Display items containing TOTP</value>
</data>
<data name="UpgradeToPremium" xml:space="preserve">
<value>Upgrade to premium </value>
</data>
<data name="ToViewVerificationCodes" xml:space="preserve">
<value>to view verification codes</value>
</data>
</root>