Skip to content

Commit

Permalink
Add tooltip for ZoomIn/ZoomOut
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzying2001 committed May 16, 2024
1 parent 4d415d3 commit 98cb05a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CefFlashBrowser/Assets/Language/en-US.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<sys:String x:Key="toolTip_stop">Stop (Esc)</sys:String>
<sys:String x:Key="toolTip_more">More</sys:String>
<sys:String x:Key="toolTip_blockedSwfs">Blocked flash content</sys:String>
<sys:String x:Key="toolTip_zoomIn">Zoom in (Ctrl+Plus)</sys:String>
<sys:String x:Key="toolTip_zoomOut">Zoom out (Ctrl+Minus)</sys:String>
<sys:String x:Key="filter_shortcut">shortcut</sys:String>
<sys:String x:Key="label_loading">Loading...</sys:String>

Expand Down
2 changes: 2 additions & 0 deletions CefFlashBrowser/Assets/Language/it.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<sys:String x:Key="toolTip_stop">Stop (Esc)</sys:String>
<sys:String x:Key="toolTip_more">Altro</sys:String>
<sys:String x:Key="toolTip_blockedSwfs">Contenuti flash bloccati</sys:String>
<sys:String x:Key="toolTip_zoomIn">Ingrandisci (Ctrl+Plus)</sys:String>
<sys:String x:Key="toolTip_zoomOut">Riduci (Ctrl+Minus)</sys:String>
<sys:String x:Key="filter_shortcut">Scorciatoia</sys:String>
<sys:String x:Key="label_loading">Caricamento...</sys:String>

Expand Down
2 changes: 2 additions & 0 deletions CefFlashBrowser/Assets/Language/zh-CN.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<sys:String x:Key="toolTip_stop">停止(Esc)</sys:String>
<sys:String x:Key="toolTip_more">更多</sys:String>
<sys:String x:Key="toolTip_blockedSwfs">被屏蔽的flash内容</sys:String>
<sys:String x:Key="toolTip_zoomIn">放大(Ctrl+加号键)</sys:String>
<sys:String x:Key="toolTip_zoomOut">缩小(Ctrl+减号键)</sys:String>
<sys:String x:Key="filter_shortcut">快捷方式</sys:String>
<sys:String x:Key="label_loading">加载中...</sys:String>

Expand Down
2 changes: 2 additions & 0 deletions CefFlashBrowser/Assets/Language/zh-TW.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<sys:String x:Key="toolTip_stop">停止(Esc)</sys:String>
<sys:String x:Key="toolTip_more">更多</sys:String>
<sys:String x:Key="toolTip_blockedSwfs">被遮罩的flash內容</sys:String>
<sys:String x:Key="toolTip_zoomIn">放大(Ctrl+加鍵)</sys:String>
<sys:String x:Key="toolTip_zoomOut">縮小(Ctrl+減鍵)</sys:String>
<sys:String x:Key="filter_shortcut">快捷方式</sys:String>
<sys:String x:Key="label_loading">加載中...</sys:String>

Expand Down
2 changes: 2 additions & 0 deletions CefFlashBrowser/Views/BrowserWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<Button Width="30"
Height="30"
Padding="0"
ToolTip="{DynamicResource toolTip_zoomOut}"
Command="{Binding Source={x:Reference Name=browser}, Path=ZoomOutCommand}">
<Button.Content>
<svgc:SvgViewbox Width="10"
Expand All @@ -74,6 +75,7 @@
<Button Width="30"
Height="30"
Padding="0"
ToolTip="{DynamicResource toolTip_zoomIn}"
Command="{Binding Source={x:Reference Name=browser}, Path=ZoomInCommand}">
<Button.Content>
<svgc:SvgViewbox Width="10"
Expand Down

0 comments on commit 98cb05a

Please sign in to comment.