Browse Source

Fixes "modified at" metadata of file contents

Adrien Panay 7 years ago
parent
commit
38eaa465a8

+ 1 - 1
tracim/tracim/i18n/fr/LC_MESSAGES/tracim.po View File

395
 #: tracim/lib/app_globals.py:26
395
 #: tracim/lib/app_globals.py:26
396
 #, python-format
396
 #, python-format
397
 msgid "%B %d at %I:%M%p"
397
 msgid "%B %d at %I:%M%p"
398
-msgstr "le %d %B à %H:%M"
398
+msgstr "%d %B à %H:%M"
399
 
399
 
400
 #: tracim/lib/calendar.py:45
400
 #: tracim/lib/calendar.py:45
401
 msgid "My personal calendar"
401
 msgid "My personal calendar"

+ 1 - 1
tracim/tracim/templates/file/getone.mak View File

124
                     selectedRevision: '${result.file.selected_revision}',
124
                     selectedRevision: '${result.file.selected_revision}',
125
                     weight: '${h.user_friendly_file_size(result.file.file.size)}',
125
                     weight: '${h.user_friendly_file_size(result.file.file.size)}',
126
                     height: '300',
126
                     height: '300',
127
-                    modifiedAt: '${h.format_short(created_localized)|n}',
127
+                    modifiedAt: '${h.format_short(updated_localized)|n}',
128
                     owner: '${result.file.owner.name}',
128
                     owner: '${result.file.owner.name}',
129
                     sourceLink: '${download_url}',
129
                     sourceLink: '${download_url}',
130
                     pdfAvailable: ${pdf_available}
130
                     pdfAvailable: ${pdf_available}