summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets/_snippet.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/snippets/_snippet.html.haml')
-rw-r--r--app/views/shared/snippets/_snippet.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/snippets/_snippet.html.haml b/app/views/shared/snippets/_snippet.html.haml
index a316a085107..c38c964d97a 100644
--- a/app/views/shared/snippets/_snippet.html.haml
+++ b/app/views/shared/snippets/_snippet.html.haml
@@ -7,7 +7,7 @@
- if snippet.private?
%span.label.label-gray
= icon('lock')
- private
+ 私有
%span.monospace.pull-right
= snippet.file_name
@@ -18,4 +18,4 @@
.snippet-info
= link_to user_snippets_path(snippet.author) do
= snippet.author_name
- authored #{time_ago_with_tooltip(snippet.created_at)}
+ 编辑于 #{time_ago_with_tooltip(snippet.created_at)}