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:
@@ -211,12 +211,12 @@ namespace Bit.App.Pages
|
|||||||
var fs = new FormattedString();
|
var fs = new FormattedString();
|
||||||
fs.Spans.Add(new Span
|
fs.Spans.Add(new Span
|
||||||
{
|
{
|
||||||
Text = "Upgrade to premium ",
|
Text = AppResources.UpgradeToPremium,
|
||||||
TextColor = ThemeManager.GetResourceColor("PrimaryColor")
|
TextColor = ThemeManager.GetResourceColor("PrimaryColor")
|
||||||
});
|
});
|
||||||
fs.Spans.Add(new Span
|
fs.Spans.Add(new Span
|
||||||
{
|
{
|
||||||
Text = "to view verification codes",
|
Text = AppResources.ToViewVerificationCodes,
|
||||||
TextColor = ThemeManager.GetResourceColor("MutedColor")
|
TextColor = ThemeManager.GetResourceColor("MutedColor")
|
||||||
});
|
});
|
||||||
return fs;
|
return fs;
|
||||||
|
|||||||
14
src/App/Resources/AppResources.Designer.cs
generated
14
src/App/Resources/AppResources.Designer.cs
generated
@@ -1,7 +1,6 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// 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
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@@ -10,7 +9,6 @@
|
|||||||
|
|
||||||
namespace Bit.App.Resources {
|
namespace Bit.App.Resources {
|
||||||
using System;
|
using System;
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
|
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[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);
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2251,4 +2251,10 @@
|
|||||||
<data name="DisplayItemsContainingTOTP" xml:space="preserve">
|
<data name="DisplayItemsContainingTOTP" xml:space="preserve">
|
||||||
<value>Display items containing TOTP</value>
|
<value>Display items containing TOTP</value>
|
||||||
</data>
|
</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>
|
</root>
|
||||||
|
|||||||
Reference in New Issue
Block a user