Commit cf14e853 authored by Thomas Randolph's avatar Thomas Randolph

Move translation into the existing i18n file

parent 1ee1c935
......@@ -88,7 +88,7 @@ export default {
:checked="showWhitespace"
@change="setShowWhitespace({ showWhitespace: $event.target.checked, pushState: true })"
/>
{{ __('Show whitespace changes') }}
{{ $options.i18n.whitespace }}
</label>
</div>
<div class="gl-mt-3 gl-px-3">
......
......@@ -21,5 +21,6 @@ export const DIFF_FILE = {
};
export const SETTINGS_DROPDOWN = {
whitespace: __('Show whitespace changes'),
fileByFile: __('Show one file at a time'),
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment