Minimal.xaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <StackPanel Margin="0,-10,0,0"
  2. xmlns:sys="clr-namespace:System;assembly=mscorlib"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
  5. <StackPanel.Triggers>
  6. </StackPanel.Triggers>
  7. <StackPanel.Resources>
  8. <Style TargetType="ListItem"><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/><Setter Property="Margin" Value="0,4"/></Style>
  9. <Style TargetType="List"><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/><Setter Property="Margin" Value="20,6,0,6"/><Setter Property="MarkerStyle" Value="1"/><Setter Property="Padding" Value="0"/></Style>
  10. <Style TargetType="Paragraph"><Setter Property="LineHeight" Value="12"/><Setter Property="TextIndent" Value="0"/><Setter Property="Margin" Value="0,8"/></Style>
  11. <Style TargetType="TextBlock"><Setter Property="TextWrapping" Value="Wrap"/><Setter Property="HorizontalAlignment" Value="Left"/><Setter Property="FontSize" Value="14"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
  12. <Style TargetType="FlowDocument"><Setter Property="FontFamily" Value="Microsoft YaHei UI"/><Setter Property="FontSize" Value="14"/><Setter Property="TextAlignment" Value="Left"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
  13. <Style TargetType="FlowDocumentScrollViewer"><Setter Property="IsSelectionEnabled" Value="False"/><Setter Property="VerticalScrollBarVisibility" Value="Hidden"/><Setter Property="Margin" Value="0"/></Style>
  14. <Style x:Key="imgTitle" TargetType="TextBlock">
  15. <Setter Property="FontSize" Value="14" />
  16. <Setter Property="Foreground" Value="#FF777777" />
  17. <Setter Property="HorizontalAlignment" Value="Center" />
  18. <Setter Property="Margin" Value="0,0,0,15" />
  19. </Style>
  20. <Style x:Key="Quote" TargetType="Section"><Setter Property="BorderThickness" Value="5,0,0,0"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/><Setter Property="Padding" Value="10,0"/><Setter Property="Margin" Value="0,12"/></Style>
  21. <Style x:Key="typedQuote" BasedOn="{StaticResource Quote}" TargetType="Section"><Setter Property="Padding" Value="10,2"/></Style>
  22. <Style x:Key="translatornoteQuote" BasedOn="{StaticResource typedQuote}" TargetType="Section"><Setter Property="BorderBrush" Value="{StaticResource ColorBrush4}"/><Setter Property="Background" Value="{StaticResource ColorBrush6}"/></Style>
  23. <Style x:Key="H3" TargetType="Paragraph"><Setter Property="FontSize" Value="18"/><Setter Property="Margin" Value="0,10,0,3"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
  24. <Style x:Key="H4" TargetType="Paragraph"><Setter Property="FontSize" Value="16"/><Setter Property="Margin" Value="0,10,0,1"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
  25. <Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
  26. <Style x:Key="InnerImage" TargetType="Image"><Setter Property="MaxHeight" Value="500"/><Setter Property="HorizontalAlignment" Value="Center"/></Style>
  27. <Style x:Key="H2" TargetType="Paragraph"><Setter Property="FontSize" Value="22"/><Setter Property="Margin" Value="0,10,0,5"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
  28. <Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
  29. </StackPanel.Resources>
  30. <local:MyCard Title="最新愚人节版 - 26w14a" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  31. <StackPanel Style="{StaticResource ContentStack}">
  32. <FlowDocumentScrollViewer >
  33. <FlowDocument>
  34. <Paragraph Style="{StaticResource H3}">和物品栏说拜拜,和 Ingenuity 说你好!</Paragraph><Paragraph>Minecraft 的新时代已然来到:<Bold>Herdcraft Update</Bold> 就在这里,并且它要改变你对背包管理的所有认知。</Paragraph><Paragraph>那么我们是怎么想到这个“典范转移”式更新的呢?就在上个月,我又从物品栏里扔出了几组圆石和泥土,扔在很近的地方,然后...又走到了他们旁边。<Italic>啵啵啵啵</Italic>。它们又回到了我精心整理的包里。</Paragraph><Paragraph>我怒气冲冲地走到了开发者楼层,狂乱地挥着手臂,直到他们摘下了耳机,然后我以最有底气的声音喊到:<Italic>“你们需要给物品栏做个更新!”</Italic></Paragraph><Paragraph>他们回道:<Italic>“那么,我们把它删了怎么样?”</Italic></Paragraph><Paragraph><Italic>“这应该可以吧,我觉得。”</Italic></Paragraph><Paragraph Style="{StaticResource H2}">所以,何为 THE HERDCRAFT UPDATE?</Paragraph><Paragraph>Herdcraft 是一个全新的(并且十分永久)的游玩 Minecraft 的方式。不用再花费每一分,每一时,每一年来尝试整理你混沌的物品栏,你可以尽情享受这个世界,还可以带上你的新朋友们:所有你拥有的方块和物品们!</Paragraph><BlockUIContainer><StackPanel>
  35. <Image Style="{StaticResource InnerImage}" Source="https://test.fukit.cn/autoupload/f/2f2dAwCzTAErK65bGUpyIlwFO-98G2eKN8Iake-wgqY/20260402/VWyk/1280X753/image.png/webp"/>
  36. <TextBlock Text="我们真是一群自由散漫的冒险家,对吧?" Style="{StaticResource imgTitle}" />
  37. </StackPanel></BlockUIContainer><Paragraph>物品栏走了,安详地走了。现在开始 <Italic>世界</Italic> 就是你的物品栏。当你破坏方块时,你不再会破坏它的躯壳,而是会破坏它的灵魂!由此以来,他将完全听命于你。想要带他转转?让它跟着你。想要合成点什么东西?在你的地面上铺上工作格(对,你没听错)然后按照配方命令方块到正确的槽位上。这是一种有趣而用心的合成方式,我们认为你会爱上它的。</Paragraph><BlockUIContainer><StackPanel>
  38. <Image Style="{StaticResource InnerImage}" Source="https://test.fukit.cn/autoupload/f/2f2dAwCzTAErK65bGUpyIlwFO-98G2eKN8Iake-wgqY/20260402/L4Gx/1280X753/image.jpeg/webp"/>
  39. <TextBlock Text="要相信这个过程!" Style="{StaticResource imgTitle}" />
  40. </StackPanel></BlockUIContainer><Paragraph>战斗同样也变得更加简单。你不再需要乱剑朝着苦力怕乱挥,来阻止它把你炸的四脚朝天,现在你可以命令一整个兵火库的武器来帮你打它!完全不敢相信我们之前怎么就没想到呢,真的。</Paragraph><BlockUIContainer><StackPanel>
  41. <Image Style="{StaticResource InnerImage}" Source="https://test.fukit.cn/autoupload/f/2f2dAwCzTAErK65bGUpyIlwFO-98G2eKN8Iake-wgqY/20260402/nMtJ/1280X753/image.jpeg/webp"/>
  42. <TextBlock Text="冲啊,伙计!我为你而骄傲!" Style="{StaticResource imgTitle}" />
  43. </StackPanel></BlockUIContainer><Paragraph Style="{StaticResource H2}">我该怎么安装这次更新?</Paragraph><Paragraph>The Herdcraft Update 是一个快照版本,并且其仅在 Minecraft: Java版 上可用。打开 Minecraft (官方)启动器然后启用“配置”栏中的“快照”,然后选择 “最新快照”。你甚至可以在 Java Realms 上游玩快照来和你的朋友一起牧块!我想不到还有什么消遣方式比这个更惬意了。</Paragraph><Section Style="{StaticResource translatornoteQuote}">
  44. <Paragraph FontWeight="Bold">
  45. 译者注
  46. <Paragraph.Foreground>
  47. <Binding Path="BorderBrush" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Section}" />
  48. </Paragraph.Foreground>
  49. </Paragraph>
  50. <Paragraph> 在 PCL 中,点击 “下载”,选择 “愚人节版”,再点击 “26w14a”,然后点击 “开始下载”,最后在启动界面的版本选择中选择 “26w14a” 然后启动即可!</Paragraph>
  51. </Section><Paragraph>注意,快照会破坏你的旧世界,所以请备份你的世界并且/或者在不是你原来世界的另一个文件夹中运行快照。如果你想恢复到正式版,仅仅需要在启动器中选择“最新正式版”。</Paragraph><Paragraph Style="{StaticResource H2}">常见问题</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>我什么时候能玩到本次更新?</Italic></Paragraph><Paragraph>从技术层面上来说,你现在就必须得玩,就是现在。不用读什么使用条款什么乱七八糟的,对吧?</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>物品栏真的永远消失了吗?</Italic></Paragraph><Paragraph>是的。</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>但是哪里能存放我超级厉害的珍贵东西呢?</Italic></Paragraph><Paragraph>最安全的地方自古以来都是:永远陪伴在你的左右。❤️</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>Herdcraft 对我速通会产生多大影响?</Italic></Paragraph><Paragraph>是非常大还是无敌大,这取决于方块们是否心情温和!</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>要是考虑到在 Minecraft 中存在着大量的方块和物品,我认为物品栏曾是一个非常合理的解决方案呢?</Italic></Paragraph><Paragraph>对不起,什么?我没法透过你那 <Italic>充满错误</Italic> 的脑电波里听清你的声音。</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>要是我是牧人,那方块是不是就是我的羊?</Italic></Paragraph><Paragraph>说实在我不知道方块们听了你这句话会怎么想,或者说羊们。</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>方块真的有灵魂吗?</Italic></Paragraph><Paragraph>我向我们的叙事总监 Kevin 请教了这个问题,他漏出了一个狡黠的表情,转身,然后走了。我想我们永远也不会知道了!</Paragraph><Paragraph Style="{StaticResource H4}"><Italic>为啥开发者会听你的话?</Italic></Paragraph><Paragraph>我刚刚问了他们同样的问题,然后他们说他们本来就是有把物品栏削了的想法,所以...就是这样。</Paragraph>
  52. </FlowDocument>
  53. </FlowDocumentScrollViewer>
  54. </StackPanel>
  55. </local:MyCard><local:MyCard Title="最新正式版 - 26.1.1" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  56. <StackPanel Style="{StaticResource ContentStack}">
  57. <FlowDocumentScrollViewer >
  58. <FlowDocument>
  59. </FlowDocument>
  60. </FlowDocumentScrollViewer><local:MyLoading Margin="0,8" Text="翻译施工中"/>
  61. </StackPanel>
  62. </local:MyCard><local:MyCard Margin="0,10,0,14">
  63. <Border BorderBrush="{DynamicResource ColorBrush3}" Margin="-0.6" CornerRadius="5" BorderThickness="0,0,0,4">
  64. <StackPanel>
  65. <Grid Margin="26,20,20,2">
  66. <StackPanel>
  67. <StackPanel VerticalAlignment="Center" Margin="0,0,0,4">
  68. <TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush3}"><Bold>PCL2 新闻主页</Bold></TextBlock>
  69. <TextBlock FontSize="12" Foreground="{DynamicResource ColorBrush3}" Text="By:最亮的信标 | CC BY-NC-SA 4.0 | 最小版本"/>
  70. </StackPanel>
  71. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-8,4,0,10">
  72. <local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈新闻主页问题" EventType="打开网页"
  73. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new/choose"
  74. LogoScale="1" Logo="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0z"/>
  75. <local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新新闻主页" EventType="刷新主页"
  76. LogoScale="0.9" Logo="M960 416V192l-73.056 73.056a447.712 447.712 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.064 448.064 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584C308.32 883.232 142.112 717.024 142.112 512S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416h224z"/>
  77. <local:MyIconTextButton HorizontalAlignment="Left" Text="GitHub" ToolTip="前往新闻主页 GitHub 页面" EventType="打开网页"
  78. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  79. LogoScale="1" Logo="M512 42.666667A464.64 464.64 0 0 0 42.666667 502.186667 460.373333 460.373333 0 0 0 363.52 938.666667c23.466667 4.266667 32-9.813333 32-22.186667v-78.08c-130.56 27.733333-158.293333-61.44-158.293333-61.44a122.026667 122.026667 0 0 0-52.053334-67.413333c-42.666667-28.16 3.413333-27.733333 3.413334-27.733334a98.56 98.56 0 0 1 71.68 47.36 101.12 101.12 0 0 0 136.533333 37.973334 99.413333 99.413333 0 0 1 29.866667-61.44c-104.106667-11.52-213.333333-50.773333-213.333334-226.986667a177.066667 177.066667 0 0 1 47.36-124.16 161.28 161.28 0 0 1 4.693334-121.173333s39.68-12.373333 128 46.933333a455.68 455.68 0 0 1 234.666666 0c89.6-59.306667 128-46.933333 128-46.933333a161.28 161.28 0 0 1 4.693334 121.173333A177.066667 177.066667 0 0 1 810.666667 477.866667c0 176.64-110.08 215.466667-213.333334 226.986666a106.666667 106.666667 0 0 1 32 85.333334v125.866666c0 14.933333 8.533333 26.88 32 22.186667A460.8 460.8 0 0 0 981.333333 502.186667 464.64 464.64 0 0 0 512 42.666667"/>
  80. <local:MyIconTextButton HorizontalAlignment="Left" Text="支持主页" ToolTip="前往爱发电赞助新闻主页" EventType="打开网页"
  81. EventData="https://ifdian.net/a/Nattiden"
  82. LogoScale="1.2" Logo="M495.899049 634.906371c-17.304811 0-31.251971 13.947161-31.251971 31.251971S478.594238 697.410314 495.899049 697.410314c17.304811 0 31.251971-13.947161 31.251971-31.251972 0-17.304811-13.947161-31.251971-31.251971-31.251971zM790.855671 728.662285c-17.304811 0-31.251971 13.947161-31.251972 31.251971s13.947161 31.251971 31.251972 31.251972 31.251971-13.947161 31.251971-31.251972c0-17.04653-13.947161-30.993691-31.251971-31.251971z M1262.99289 719.622459c-13.430599-8.264984-28.927445-13.430599-44.68257-14.980284 34.867902-84.974368 57.080047-196.293374-18.596215-306.837537-115.193217-168.657333-280.75118-256.73107-491.766556-260.863562-60.179416-1.291404-130.948343 1.549685-205.849762 4.649054-87.040614 3.35765-203.008673 8.006703-281.526023 1.549684 15.755126-8.523265 32.543375-16.788249 47.007098-23.761829 55.530362-27.119479 98.921529-48.04022 84.457807-85.232649-7.748423-21.695583-30.218848-33.059937-67.411277-34.09306C206.624604-1.755689 37.967271 43.443443 7.748423 119.636265c-17.04653 42.874605-19.887618 125.524447 152.902206 198.876182 71.027208 30.218848 271.969635 66.894715 349.453861 74.643138 17.563091 1.549685 34.867902 5.165615 51.397871 11.364353-17.821372 11.622634-35.901025 24.02011-54.238959 36.417586-31.768533-18.079653-83.941245-39.516955-122.683358-13.172318-14.463722 9.298107-23.503549 25.053233-24.02011 42.358044-0.516562 21.179022 12.397476 42.099763 26.861198 58.629731-57.080047 45.715694-103.312302 89.881703-119.84227 123.974762-18.337934 41.841482-25.828075 110.544163 8.523265 177.438879 43.391167 84.974368 138.955046 144.120661 284.625391 176.147474 190.352916 41.583202 354.619476 4.132492 463.355674-53.205835 60.437697-32.026814 103.570583-69.994085 124.233043-103.828864 6.457019 2.066246 12.914038 4.132492 19.629338 6.198738 9.298107 2.841088 18.596214 5.682177 27.37776 8.781546 28.669164 10.072949 60.695977 8.523265 85.232649-3.61593l1.291403-0.774843c17.821372-9.039826 31.510252-25.053233 37.708991-44.166009 15.238565-51.139589-29.444006-79.033911-56.563486-96.08044z m-811.776412-239.684541l-17.30481 12.655757c-5.165615-5.165615-9.814669-11.106072-13.430599-17.563091 6.7153-2.066246 18.337934 0.258281 30.735409 4.907334zM1262.99289 798.139808c-1.291404 3.874211-4.132492 6.97358-9.298107 9.814669-10.33123 5.165615-25.569795 5.423896-39.258675 0.774842-9.298107-3.35765-19.371057-6.457019-29.444006-9.556388-18.596214-5.682177-49.848186-15.238565-55.788643-22.470426-9.814669-12.914038-28.152602-15.755126-41.32492-5.940457s-15.755126 28.152602-5.940458 41.324921c3.615931 4.390773 7.490142 8.264984 12.139196 11.622634-44.940851 62.245662-242.267348 186.220424-521.468844 125.007885-125.782728-27.636041-210.498815-77.742507-244.850155-145.412065-24.794952-48.815063-19.112776-98.921529-7.231861-126.299289 34.09306-71.027208 280.75118-234.518925 438.30244-327.241716 13.947161-8.264984 18.596214-26.344637 10.33123-40.291798s-27.119479-19.629337-40.291797-10.33123c-12.655757 7.490142-55.788643 33.059937-111.060725 68.186119-18.596214-12.655757-50.881309-27.894322-102.537459-33.059936-81.874999-8.264984-270.936512-44.42429-332.149051-70.252366C139.471608 245.418993 40.033517 196.34565 61.987381 141.073568c5.165615-12.914038 29.185725-33.576498 81.100157-53.464116 35.384463-13.430599 72.318611-22.470426 109.769321-27.119479l-11.622634 5.682176c-35.384463 17.304811-73.868296 36.417586-99.954652 59.146293-1.807965-1.033123-3.615931-2.324527-5.165615-3.874211-10.847792-11.622634-29.185725-12.397476-41.06664-1.291404l-0.516562 0.516561c-11.880915 11.106072-12.139195 29.702287-1.033123 41.583202 10.589511 11.106072 26.086356 19.371057 45.715694 25.569795 0.774842 0.258281 1.291404 0.516562 2.066246 0.774842 68.702681 21.179022 190.611197 18.596214 362.367899 11.622634 74.126577-2.841088 144.120661-5.682177 202.492111-4.649054 193.710566 3.874211 339.122631 80.841876 444.75946 235.552049 64.828469 95.047318 41.583202 188.544951 4.390773 269.903388-4.649054-3.615931-9.039826-7.748423-12.655757-12.139195-10.33123-12.397476-28.669164-14.463722-41.324921-4.649054-12.655757 10.072949-14.722003 28.669164-4.649054 41.324921 5.940457 7.490142 36.675867 42.874605 74.643138 39.775236h2.066246c1.291404-0.258281 2.324527 0 3.615931-0.258281 25.828075-4.649054 42.358044-3.615931 57.596608 6.198738 20.40418 12.914038 30.218848 20.40418 28.410883 26.861199z"/>
  83. </StackPanel>
  84. </StackPanel>
  85. </Grid>
  86. </StackPanel>
  87. </Border>
  88. </local:MyCard>
  89. </StackPanel>