Commit 95f8cb39 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Use i18n for aria labels

parent f779f2b8
......@@ -90,7 +90,7 @@ export default {
};
</script>
<template>
<figure class="file-holder snippet-file-content" :aria-label="__(`Code snippet`)">
<figure class="file-holder snippet-file-content" :aria-label="__('Code snippet')">
<blob-header
:blob="blob"
:active-viewer-type="viewer.type"
......
......@@ -17,5 +17,5 @@
= embedded_raw_snippet_button(@snippet, blob)
= embedded_snippet_download_button(@snippet, blob)
%figure.file-holder.snippet-file-content{ "aria-label" => "Code snippet" }
%figure.file-holder.snippet-file-content{ "aria-label" => _('Code snippet') }
= render 'projects/blob/viewer', viewer: blob.simple_viewer, load_async: false, external_embed: true
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