Skip to content

Commit 22972ae

Browse files
committed
Locale
1 parent 929a84b commit 22972ae

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ pin = Pin
130130
unpin = Unpin
131131

132132
artifacts = Artifacts
133+
expired = Expired
133134
confirm_delete_artifact = Are you sure you want to delete the artifact '%s' ?
134135

135136
archived = Archived

templates/repo/actions/view_component.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
data-locale-status-skipped="{{ctx.Locale.Tr "actions.status.skipped"}}"
2020
data-locale-status-blocked="{{ctx.Locale.Tr "actions.status.blocked"}}"
2121
data-locale-artifacts-title="{{ctx.Locale.Tr "artifacts"}}"
22+
data-locale-artifact-expired="{{ctx.Locale.Tr "expired"}}"
2223
data-locale-confirm-delete-artifact="{{ctx.Locale.Tr "confirm_delete_artifact"}}"
2324
data-locale-show-timestamps="{{ctx.Locale.Tr "show_timestamps"}}"
2425
data-locale-show-log-seconds="{{ctx.Locale.Tr "show_log_seconds"}}"

web_src/js/components/RepoActionView.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,7 @@ export default defineComponent({
507507
<li class="job-artifacts-item" v-else>
508508
<span class="ui text light grey">
509509
<SvgIcon name="octicon-file" class="ui text light grey job-artifacts-icon"/>{{ artifact.name }}
510-
<!-- LOCALES? -->
511-
<span class="ui text label light grey tw-ml-1">Expired</span>
510+
<span class="ui text label light grey tw-ml-1">{{ locale.artifactExpired }}</span>
512511
</span>
513512
</li>
514513
</template>

web_src/js/features/repo-actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export function initRepositoryActionView() {
2424
pushedBy: el.getAttribute('data-locale-runs-pushed-by'),
2525
artifactsTitle: el.getAttribute('data-locale-artifacts-title'),
2626
areYouSure: el.getAttribute('data-locale-are-you-sure'),
27+
artifactExpired: el.getAttribute('data-locale-artifact-expired'),
2728
confirmDeleteArtifact: el.getAttribute('data-locale-confirm-delete-artifact'),
2829
showTimeStamps: el.getAttribute('data-locale-show-timestamps'),
2930
showLogSeconds: el.getAttribute('data-locale-show-log-seconds'),

0 commit comments

Comments
 (0)