|
9 | 9 | DataContext="{Binding Source={StaticResource Locator}, Path=Settings}"
|
10 | 10 |
|
11 | 11 | xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
| 12 | + xmlns:resx="clr-namespace:OnlyV.Properties" |
12 | 13 | TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
13 | 14 | TextElement.FontWeight="Medium"
|
14 | 15 | TextElement.FontSize="14"
|
|
60 | 61 | HorizontalScrollBarVisibility="Hidden"
|
61 | 62 | PanningMode="VerticalOnly">
|
62 | 63 | <StackPanel Orientation="Vertical" Margin="5">
|
63 |
| - <GroupBox Header="Bibles" Style="{StaticResource SettingsGroupBoxStyle}"> |
| 64 | + <GroupBox Header="{x:Static resx:Resources.HEADER_BIBLES}" |
| 65 | + Style="{StaticResource SettingsGroupBoxStyle}"> |
64 | 66 | <StackPanel Orientation="Vertical">
|
65 | 67 |
|
66 | 68 | <Grid
|
|
83 | 85 | HorizontalAlignment="Center"
|
84 | 86 | VerticalAlignment="Center"
|
85 | 87 | TextWrapping="Wrap"
|
86 |
| - Text="Download Bible epub files from jw.org and drag and drop here." |
| 88 | + Text="{x:Static resx:Resources.DROP_BIBLE_INSTRUCTIONS}" |
87 | 89 | Foreground="{StaticResource PrimaryHueDarkBrush}"/>
|
88 | 90 |
|
89 | 91 | </Grid>
|
90 | 92 |
|
91 | 93 | <ComboBox ItemsSource="{Binding BibleEpubFiles}"
|
92 | 94 | Style="{StaticResource SettingsComboBoxStyle}"
|
93 | 95 | materialDesign:HintAssist.IsFloating="True"
|
94 |
| - materialDesign:HintAssist.Hint="Bible epub file" |
| 96 | + materialDesign:HintAssist.Hint="{x:Static resx:Resources.BIBLE_EPUB_FILE}" |
95 | 97 | SelectedValuePath="Path"
|
96 | 98 | DisplayMemberPath="Name"
|
97 | 99 | materialDesign:ComboBoxAssist.ClassicMode="true"
|
|
101 | 103 | </StackPanel>
|
102 | 104 | </GroupBox>
|
103 | 105 |
|
104 |
| - <GroupBox Header="Display" Style="{StaticResource SettingsGroupBoxStyle}"> |
105 |
| - <StackPanel Orientation="Vertical"> |
106 |
| - |
107 |
| - <ComboBox ItemsSource="{Binding Monitors}" |
108 |
| - Style="{StaticResource SettingsComboBoxStyle}" |
109 |
| - materialDesign:HintAssist.IsFloating="True" |
110 |
| - materialDesign:HintAssist.Hint="Media Monitor" |
111 |
| - SelectedValuePath="MonitorId" |
112 |
| - DisplayMemberPath="FriendlyName" |
113 |
| - materialDesign:ComboBoxAssist.ClassicMode="true" |
114 |
| - SelectedValue="{Binding MonitorId, Mode=TwoWay}"> |
115 |
| - </ComboBox> |
116 |
| - |
117 |
| - <CheckBox IsChecked="{Binding JwLibraryCompatibilityMode, Mode=TwoWay}" |
118 |
| - Content="JW Library compatibility mode" |
119 |
| - Style="{StaticResource SettingsCheckBoxStyle}"/> |
120 |
| - |
121 |
| - </StackPanel> |
122 |
| - </GroupBox> |
123 |
| - |
124 |
| - |
125 |
| - <GroupBox Header="Image Style" Style="{StaticResource SettingsGroupBoxStyle}"> |
| 106 | + <GroupBox Header="{x:Static resx:Resources.HEADER_DISPLAY}" |
| 107 | + Style="{StaticResource SettingsGroupBoxStyle}"> |
| 108 | + <StackPanel Orientation="Vertical"> |
| 109 | + |
| 110 | + <ComboBox ItemsSource="{Binding Monitors}" |
| 111 | + Style="{StaticResource SettingsComboBoxStyle}" |
| 112 | + materialDesign:HintAssist.IsFloating="True" |
| 113 | + materialDesign:HintAssist.Hint="{x:Static resx:Resources.MEDIA_MONITOR}" |
| 114 | + SelectedValuePath="MonitorId" |
| 115 | + DisplayMemberPath="FriendlyName" |
| 116 | + materialDesign:ComboBoxAssist.ClassicMode="true" |
| 117 | + SelectedValue="{Binding MonitorId, Mode=TwoWay}"/> |
| 118 | + |
| 119 | + <CheckBox IsChecked="{Binding JwLibraryCompatibilityMode, Mode=TwoWay}" |
| 120 | + Content="{x:Static resx:Resources.JW_COMPAT_MODE}" |
| 121 | + Style="{StaticResource SettingsCheckBoxStyle}"/> |
| 122 | + |
| 123 | + <TextBlock FontSize="12" |
| 124 | + Width="420" |
| 125 | + Margin="0,10,0,0" |
| 126 | + HorizontalAlignment="Left" |
| 127 | + TextWrapping="Wrap" |
| 128 | + Text="{x:Static resx:Resources.JWL_TRADEMARK}" /> |
| 129 | + </StackPanel> |
| 130 | + </GroupBox> |
| 131 | + |
| 132 | + |
| 133 | + <GroupBox Header="{x:Static resx:Resources.HEADER_IMAGE_STYLE}" Style="{StaticResource SettingsGroupBoxStyle}"> |
126 | 134 | <StackPanel Orientation="Vertical">
|
127 | 135 |
|
128 | 136 | <ComboBox ItemsSource="{Binding ThemeFiles}"
|
|
135 | 143 | SelectedValue="{Binding CurrentThemePath, Mode=TwoWay}">
|
136 | 144 | </ComboBox>
|
137 | 145 |
|
138 |
| - <Label Margin="-5,0,0,0">Text scaling:</Label> |
| 146 | + <Label Margin="-5,0,0,0" Content="{x:Static resx:Resources.TEXT_SCALING}"/> |
139 | 147 | <Slider Width="420"
|
140 | 148 | Margin="0,0,0,10"
|
141 | 149 | Minimum="50"
|
|
146 | 154 | HorizontalAlignment="Left" />
|
147 | 155 |
|
148 | 156 | <CheckBox IsChecked="{Binding UseBackgroundImage, Mode=TwoWay}"
|
149 |
| - Content="Use background image" |
| 157 | + Content="{x:Static resx:Resources.USE_BACKGROUND_IMAGE}" |
150 | 158 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
151 | 159 |
|
152 | 160 | <CheckBox IsChecked="{Binding AutoFit, Mode=TwoWay}"
|
153 |
| - Content="Auto fit" |
| 161 | + Content="{x:Static resx:Resources.AUTO_FIT}" |
154 | 162 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
155 | 163 |
|
156 | 164 | <CheckBox IsChecked="{Binding ShowVerseBreaks, Mode=TwoWay}"
|
157 |
| - Content="Use ellipses to indicate non-contiguous verses" |
| 165 | + Content="{x:Static resx:Resources.USE_ELLIPSES}" |
158 | 166 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
159 | 167 |
|
160 | 168 | <CheckBox IsChecked="{Binding UseTildeMarker, Mode=TwoWay}"
|
161 |
| - Content="Show a tilde between paragraphs in a single verse" |
| 169 | + Content="{x:Static resx:Resources.USE_TILDE}" |
162 | 170 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
163 | 171 |
|
164 | 172 | <CheckBox IsChecked="{Binding TrimPunctuation, Mode=TwoWay}"
|
165 |
| - Content="Trim punctuation" |
| 173 | + Content="{x:Static resx:Resources.TRIM_PUNCTUATION}" |
166 | 174 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
167 | 175 |
|
168 | 176 | <CheckBox IsChecked="{Binding TrimQuotes, Mode=TwoWay}"
|
169 |
| - Content="Trim quotation marks" |
| 177 | + Content="{x:Static resx:Resources.TRIM_QUOTES}" |
170 | 178 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
171 | 179 |
|
172 | 180 | <CheckBox IsChecked="{Binding ShowVerseNos, Mode=TwoWay}"
|
173 |
| - Content="Show verse numbers" |
| 181 | + Content="{x:Static resx:Resources.SHOW_VERSE_NOS}" |
174 | 182 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
175 | 183 | </StackPanel>
|
176 | 184 | </GroupBox>
|
177 | 185 |
|
178 | 186 |
|
179 |
| - <GroupBox Header="Miscellaneous" Style="{StaticResource SettingsGroupBoxStyle}"> |
| 187 | + <GroupBox Header="{x:Static resx:Resources.HEADER_MISC}" |
| 188 | + Style="{StaticResource SettingsGroupBoxStyle}"> |
180 | 189 | <StackPanel Orientation="Vertical">
|
181 | 190 |
|
182 | 191 | <TextBlock Text="{Binding AppVersionStr}"
|
|
185 | 194 | Foreground="{StaticResource MaterialDesignBodyLight}" />
|
186 | 195 |
|
187 | 196 | <CheckBox IsChecked="{Binding AlwaysOnTop, Mode=TwoWay}"
|
188 |
| - Content="Main window always on top" |
| 197 | + Content="{x:Static resx:Resources.ALWAYS_ON_TOP}" |
189 | 198 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
190 | 199 |
|
191 | 200 | <CheckBox IsChecked="{Binding AllowVerseEditing, Mode=TwoWay}"
|
192 |
| - Content="Allow verse editing" |
| 201 | + Content="{x:Static resx:Resources.ALLOW_VERSE_EDITING}" |
193 | 202 | Style="{StaticResource SettingsCheckBoxStyle}"/>
|
194 | 203 |
|
195 | 204 | <DockPanel LastChildFill="True" Width="420" HorizontalAlignment="Left">
|
|
202 | 211 | Style="{StaticResource SelectFolderStyle}"
|
203 | 212 | DockPanel.Dock="Left"
|
204 | 213 | Margin="0,10,0,10"
|
205 |
| - materialDesign:HintAssist.Hint="Images folder" |
| 214 | + materialDesign:HintAssist.Hint="{x:Static resx:Resources.IMAGES_FOLDER}" |
206 | 215 | Text="{Binding DestinationFolder, Mode=TwoWay}" />
|
207 | 216 | </DockPanel>
|
208 | 217 |
|
209 |
| - |
210 | 218 | <ComboBox ItemsSource="{Binding LoggingLevels}"
|
211 | 219 | Style="{StaticResource SettingsComboBoxStyle}"
|
212 | 220 | materialDesign:HintAssist.IsFloating="True"
|
213 |
| - materialDesign:HintAssist.Hint="Logging Level" |
| 221 | + materialDesign:HintAssist.Hint="{x:Static resx:Resources.LOGGING_LEVEL}" |
214 | 222 | SelectedValuePath="Level"
|
215 | 223 | DisplayMemberPath="Name"
|
216 | 224 | materialDesign:ComboBoxAssist.ClassicMode="true"
|
|
0 commit comments