Skip to content

Localized dashboard/files page (#1960)#5359

Open
SimonX1a0 wants to merge 7 commits intomasterfrom
localization-1960
Open

Localized dashboard/files page (#1960)#5359
SimonX1a0 wants to merge 7 commits intomasterfrom
localization-1960

Conversation

@SimonX1a0
Copy link
Copy Markdown

Replaced hard coded English texts with i18n keys in app/views/files files used for /dashboard/files path.

Replace hard coded english labels with i18n keys for buttons like
refresh, new files, new directory, copy/move, and delete
Add English and zh-CN strings
<th><span class="sr-only">Type</span></th>
<th>Name</th>
<th><span class="sr-only">Actions</span></th>
<th><span class="sr-only"><%= t('dashboard.files_turboframe.type') %></span></th>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple/single works like Type should be just simple/single word keys like dashboard.type. That promotes reuse and also simplicity.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you added this file by accident. Furthermore, if this is a development config - you should be using a directory outside of the git tree. Mostly for this exact reason - so you don't accidentally commit it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Awaiting Review

Development

Successfully merging this pull request may close these issues.

3 participants