Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
在UI完善前,隐藏以图搜图功能
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiichiamane committed Oct 14, 2019
1 parent 6949977 commit c66db3e
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 37 deletions.
5 changes: 1 addition & 4 deletions PixivFSUWP/MultilingualResources/PixivFSUWP.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@
</trans-unit>
<trans-unit id="ImageFilePlain" translate="yes" xml:space="preserve">
<source>Image</source>
<target state="needs-review-translation">画像ファイル</target>
<target state="translated">画像ファイル</target>
<note from="MultilingualBuild" annotates="source" priority="2">PlainText</note>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
</trans-unit>
<trans-unit id="Job.Text" translate="yes" xml:space="preserve">
<source>Job</source>
Expand Down Expand Up @@ -631,13 +630,11 @@
<source>Imgur API key</source>
<target state="new">Imgur API key</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
</trans-unit>
<trans-unit id="SauceNaoAPI.Text" translate="yes" xml:space="preserve">
<source>SauceNAO API key</source>
<target state="new">SauceNAO API key</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
</trans-unit>
<trans-unit id="SearchMore.Text" translate="yes" xml:space="preserve">
<source>More functions</source>
Expand Down
13 changes: 5 additions & 8 deletions PixivFSUWP/MultilingualResources/PixivFSUWP.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@
</trans-unit>
<trans-unit id="ImageFilePlain" translate="yes" xml:space="preserve">
<source>Image</source>
<target state="needs-review-translation">图片文件</target>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
<target state="translated">图片文件</target>
<note from="MultilingualBuild" annotates="source" priority="2">PlainText</note>
</trans-unit>
<trans-unit id="Job.Text" translate="yes" xml:space="preserve">
Expand Down Expand Up @@ -624,25 +623,23 @@
</trans-unit>
<trans-unit id="ImageDir.Text" translate="yes" xml:space="preserve">
<source>Default save location</source>
<target state="needs-review-translation">图像保存目录</target>
<target state="translated">图像保存目录</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
</trans-unit>
<trans-unit id="ImgurAPI.Text" translate="yes" xml:space="preserve">
<source>Imgur API key</source>
<target state="new">Imgur API key</target>
<target state="translated">Imgur API密钥</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
</trans-unit>
<trans-unit id="SauceNaoAPI.Text" translate="yes" xml:space="preserve">
<source>SauceNAO API key</source>
<target state="new">SauceNAO API key</target>
<target state="translated">SauceNAO API密钥</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
</trans-unit>
<trans-unit id="SearchMore.Text" translate="yes" xml:space="preserve">
<source>More functions</source>
<target state="needs-review-translation">更多功能</target>
<target state="translated">更多功能</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
</trans-unit>
<trans-unit id="GoToPixivID.Text" translate="yes" xml:space="preserve">
<source>Pixiv ID</source>
Expand Down
13 changes: 5 additions & 8 deletions PixivFSUWP/MultilingualResources/PixivFSUWP.zh-Hant.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@
</trans-unit>
<trans-unit id="ImageFilePlain" translate="yes" xml:space="preserve">
<source>Image</source>
<target state="needs-review-translation">图片文件</target>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
<target state="translated">图片文件</target>
<note from="MultilingualBuild" annotates="source" priority="2">PlainText</note>
</trans-unit>
<trans-unit id="Job.Text" translate="yes" xml:space="preserve">
Expand Down Expand Up @@ -624,24 +623,22 @@
</trans-unit>
<trans-unit id="ImageDir.Text" translate="yes" xml:space="preserve">
<source>Default save location</source>
<target state="needs-review-translation">圖像保存目錄</target>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
<target state="translated">圖像保存目錄</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
</trans-unit>
<trans-unit id="ImgurAPI.Text" translate="yes" xml:space="preserve">
<source>Imgur API key</source>
<target state="new">Imgur API key</target>
<target state="translated">Imgur API密钥</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
</trans-unit>
<trans-unit id="SauceNaoAPI.Text" translate="yes" xml:space="preserve">
<source>SauceNAO API key</source>
<target state="new">SauceNAO API key</target>
<target state="translated">SauceNAO API密钥</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
</trans-unit>
<trans-unit id="SearchMore.Text" translate="yes" xml:space="preserve">
<source>More functions</source>
<target state="needs-review-translation">更多功能</target>
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
<target state="translated">更多功能</target>
<note from="MultilingualBuild" annotates="source" priority="2">TextBlock +</note>
</trans-unit>
<trans-unit id="GoToPixivID.Text" translate="yes" xml:space="preserve">
Expand Down
15 changes: 1 addition & 14 deletions PixivFSUWP/SearchPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,8 @@
<TextBlock x:Uid="GoToPixivID"/>
<AutoSuggestBox x:Name="asbGTPID" Margin="0 5 0 0" x:Uid="GoPixivID" QuerySubmitted="GoPixivID_QuerySubmitted"
HorizontalAlignment="Stretch" QueryIcon="Forward" TextChanged="asbGTPID_TextChanged"/>
<!--<Grid HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="50"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" x:Name="tbPID" TextChanged="tbPID_TextChanged"/>
<Button Grid.Column="1" VerticalAlignment="Stretch" Click="BtnGoTo_Click">
<Button.Content>
<FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}"
FontSize="16" Glyph="&#xE724;"/>
</Button.Content>
</Button>
</Grid>-->
</StackPanel>
<Button Grid.Row="1" Margin="0,5,0,0" x:Name="btnSauceNAO" x:Uid="BtnSauceNAO" HorizontalAlignment="Stretch" Click="btnSauceNAO_Click"/>
<Button Grid.Row="1" Margin="0,5,0,0" x:Name="btnSauceNAO" x:Uid="BtnSauceNAO" HorizontalAlignment="Stretch" Click="btnSauceNAO_Click" Visibility="Collapsed"/>
</Grid>
<StackPanel Margin="0 10 0 0" HorizontalAlignment="Left" Orientation="Horizontal">
<TextBlock FontSize="14" FontWeight="Bold" x:Uid="TrendingTags"/>
Expand Down
4 changes: 2 additions & 2 deletions PixivFSUWP/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<TextBlock FontSize="12" Foreground="Gray" x:Uid="LogoutWarning"/>
</StackPanel>
</Grid>
<StackPanel Margin="0,10">
<TextBlock Margin="15,0,15,0" FontSize="18" FontWeight="Bold" Text="Settings"/>
<StackPanel Margin="0,10" Visibility="Collapsed">
<TextBlock Margin="15,0,15,0" FontSize="18" FontWeight="Bold" Text="SauceNAO"/>
<Grid>
<TextBlock x:Uid="SauceNaoAPI" Margin="20,0" HorizontalAlignment="Left" VerticalAlignment="Center" HorizontalTextAlignment="Right"/>
<TextBox x:Name="tbSauceNAO" Margin="200,0" Width="400" HorizontalAlignment="Left" TextChanged="API_TextChanged"/>
Expand Down
10 changes: 9 additions & 1 deletion PixivFSUWP/Strings/zh-Hans/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,16 @@
<value>图像保存目录</value>
<comment>TextBlock +</comment>
</data>
<data name="ImgurAPI.Text" xml:space="preserve">
<value>Imgur API密钥</value>
<comment>TextBlock +</comment>
</data>
<data name="SauceNaoAPI.Text" xml:space="preserve">
<value>SauceNAO API密钥</value>
<comment>TextBlock +</comment>
</data>
<data name="SearchMore.Text" xml:space="preserve">
<value>更多搜索功能</value>
<value>更多功能</value>
<comment>TextBlock +</comment>
</data>
<data name="GoToPixivID.Text" xml:space="preserve">
Expand Down
8 changes: 8 additions & 0 deletions PixivFSUWP/Strings/zh-Hant/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,14 @@
<value>圖像保存目錄</value>
<comment>TextBlock +</comment>
</data>
<data name="ImgurAPI.Text" xml:space="preserve">
<value>Imgur API密钥</value>
<comment>TextBlock +</comment>
</data>
<data name="SauceNaoAPI.Text" xml:space="preserve">
<value>SauceNAO API密钥</value>
<comment>TextBlock +</comment>
</data>
<data name="SearchMore.Text" xml:space="preserve">
<value>更多功能</value>
<comment>TextBlock +</comment>
Expand Down

0 comments on commit c66db3e

Please sign in to comment.