Skip to content

Commit

Permalink
fix: 修正字符串资源
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Jan 15, 2025
1 parent 9742f24 commit b5f3ae6
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/Magpie/HomePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
IsOn="{x:Bind ViewModel.IsSimulateExclusiveFullscreen, Mode=TwoWay}"
Toggled="SimulateExclusiveFullscreenToggleSwitch_Toggled" />
</local:SettingsCard>
<local:SettingsCard x:Uid="Home_Advanced_DeveloperOptions_MinFrameRate"
<local:SettingsCard x:Uid="Home_Advanced_MinFrameRate"
IsWrapEnabled="True">
<local:SettingsCard.HeaderIcon>
<FontIcon Glyph="&#xECAD;" />
Expand Down
2 changes: 1 addition & 1 deletion src/Magpie/Resources.language-de.resw
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@
<data name="Message_ScalingFailed" xml:space="preserve">
<value>Skalierung fehlgeschlagen</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Header" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Header" xml:space="preserve">
<value>Minimale Bildwiederholrate</value>
</data>
</root>
4 changes: 2 additions & 2 deletions src/Magpie/Resources.language-en-US.resw
Original file line number Diff line number Diff line change
Expand Up @@ -865,10 +865,10 @@
<data name="Profile_Performance_NoGraphicsCard.Title" xml:space="preserve">
<value>No compatible graphics card was found, so CPU rendering will be used instead. Performance may not meet expectations.</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Header" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Header" xml:space="preserve">
<value>Minimum frame rate</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Description" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Description" xml:space="preserve">
<value>Stabilizes GPU frequency to reduce stuttering, but may lead to higher power consumption</value>
</data>
<data name="Home_Advanced_DeveloperOptions_DisableFP16.Content" xml:space="preserve">
Expand Down
4 changes: 2 additions & 2 deletions src/Magpie/Resources.language-ja.resw
Original file line number Diff line number Diff line change
Expand Up @@ -865,10 +865,10 @@
<data name="Profile_Performance_NoGraphicsCard.Title" xml:space="preserve">
<value>互換性のあるグラフィックカードが見つからなかったため、代わりにCPUレンダリングが使用されます。パフォーマンスが期待に添えない場合があります。</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Description" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Description" xml:space="preserve">
<value>GPUの周波数を安定させてスタッタリングを減らしますが、消費電力が増加する可能性があります</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Header" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Header" xml:space="preserve">
<value>最小フレームレート</value>
</data>
</root>
4 changes: 2 additions & 2 deletions src/Magpie/Resources.language-ru.resw
Original file line number Diff line number Diff line change
Expand Up @@ -862,10 +862,10 @@
<data name="Message_Maximized" xml:space="preserve">
<value>Масштабирование максимизированных или полноэкранных окон отключено. Эту настройку можно изменить на главной странице.</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Header" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Header" xml:space="preserve">
<value>Минимальная частота кадров</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Description" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Description" xml:space="preserve">
<value>Стабилизирует частоту GPU для уменьшения подвисания, но может привести к повышенному энергопотреблению</value>
</data>
<data name="Profile_Performance_NoGraphicsCard.Title" xml:space="preserve">
Expand Down
77 changes: 68 additions & 9 deletions src/Magpie/Resources.language-ta.resw
Original file line number Diff line number Diff line change
@@ -1,6 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
Expand Down Expand Up @@ -130,10 +189,10 @@
<data name="Profile_Performance_NoGraphicsCard.Title" xml:space="preserve">
<value>இணக்கமான கிராபிக்ச் அட்டை எதுவும் காணப்படவில்லை, எனவே அதற்கு பதிலாக சிபியு வழங்குதல் பயன்படுத்தப்படும். செயல்திறன் எதிர்பார்ப்புகளை நிறைவு செய்யாது.</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Header" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Header" xml:space="preserve">
<value>குறைந்தபட்ச பிரேம் வீதம்</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Description" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Description" xml:space="preserve">
<value>தடுமாற்றத்தைக் குறைக்க சி.பீ.யூ அதிர்வெண்ணை உறுதிப்படுத்துகிறது, ஆனால் அதிக மின் நுகர்வுக்கு வழிவகுக்கும்</value>
</data>
<data name="Home_Activation_AutoRestore_CurWindow" xml:space="preserve">
Expand Down Expand Up @@ -661,16 +720,16 @@
<data name="Home_Advanced_DeveloperOptions.Header" xml:space="preserve">
<value>உருவாக்குபவர் விருப்பங்கள்</value>
</data>
<data name="Home_Advanced_DeveloperOptions_DebugMode.Header" xml:space="preserve">
<data name="Home_Advanced_DeveloperOptions_DebugMode.Content" xml:space="preserve">
<value>பிழைத்திருத்த முறை</value>
</data>
<data name="Home_Advanced_DeveloperOptions_DisableEffectCache.Header" xml:space="preserve">
<data name="Home_Advanced_DeveloperOptions_DisableEffectCache.Content" xml:space="preserve">
<value>விளைவு தற்காலிக சேமிப்பை முடக்கு</value>
</data>
<data name="Home_Advanced_DeveloperOptions_SaveEffectSources.Header" xml:space="preserve">
<data name="Home_Advanced_DeveloperOptions_SaveEffectSources.Content" xml:space="preserve">
<value>பாகுபடுத்தும் போது மூலக் குறியீட்டை சேமிக்கவும்</value>
</data>
<data name="Home_Advanced_DeveloperOptions_WarningsAreErrors.Header" xml:space="preserve">
<data name="Home_Advanced_DeveloperOptions_WarningsAreErrors.Content" xml:space="preserve">
<value>விளைவுகளைத் தொகுக்கும்போது எச்சரிக்கைகளை பிழைகளாகக் கருதுங்கள்</value>
</data>
<data name="AppSettings_Dialog_Exit" xml:space="preserve">
Expand Down Expand Up @@ -731,7 +790,7 @@
<data name="Overlay_Profiler_Timings_Total" xml:space="preserve">
<value>மொத்தம்</value>
</data>
<data name="Home_Advanced_DeveloperOptions_DisableFontCache.Header" xml:space="preserve">
<data name="Home_Advanced_DeveloperOptions_DisableFontCache.Content" xml:space="preserve">
<value>எழுத்துரு தற்காலிக சேமிப்பை முடக்கு</value>
</data>
<data name="Home_Activation_AllowScalingMaximized.Header" xml:space="preserve">
Expand Down Expand Up @@ -779,7 +838,7 @@
<data name="Home_Advanced_DeveloperOptions_DuplicateFrameDetection_Never.Content" xml:space="preserve">
<value>ஒருபோதும்</value>
</data>
<data name="Home_Advanced_DeveloperOptions_EnableStatisticsForDynamicDetection.Header" xml:space="preserve">
<data name="Home_Advanced_DeveloperOptions_EnableStatisticsForDynamicDetection.Content" xml:space="preserve">
<value>மாறும் கண்டறிதலுக்கான புள்ளிவிவரங்களை இயக்கவும்</value>
</data>
<data name="Overlay_Profiler_FrameRate" xml:space="preserve">
Expand Down
4 changes: 2 additions & 2 deletions src/Magpie/Resources.language-zh-Hans.resw
Original file line number Diff line number Diff line change
Expand Up @@ -865,10 +865,10 @@
<data name="Profile_Performance_NoGraphicsCard.Title" xml:space="preserve">
<value>由于找不到兼容的显卡,将使用 CPU 渲染。很可能达不到理想性能。</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Header" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Header" xml:space="preserve">
<value>最小帧率</value>
</data>
<data name="Home_Advanced_DeveloperOptions_MinFrameRate.Description" xml:space="preserve">
<data name="Home_Advanced_MinFrameRate.Description" xml:space="preserve">
<value>稳定 GPU 频率以减少卡顿,但会导致功耗增加</value>
</data>
<data name="Home_Advanced_DeveloperOptions_DisableFP16.Content" xml:space="preserve">
Expand Down

0 comments on commit b5f3ae6

Please sign in to comment.