[i18n] Fix some errors in Report Section
parent
877d067ed9
commit
804d0be308
|
@ -377,9 +377,9 @@ module.controller("CsvExporterIssuesController", CsvExporterIssuesController)
|
|||
## CSV Directive
|
||||
#############################################################################
|
||||
|
||||
CsvUsDirective = () ->
|
||||
CsvUsDirective = ($translate) ->
|
||||
link = ($scope) ->
|
||||
$scope.csvType = "US"
|
||||
$scope.csvType = $translate.instant("ADMIN.REPORTS.CSV_TYPE_USS")
|
||||
|
||||
return {
|
||||
controller: "CsvExporterUserstoriesController",
|
||||
|
@ -388,11 +388,11 @@ CsvUsDirective = () ->
|
|||
scope: true
|
||||
}
|
||||
|
||||
module.directive("tgCsvUs", [CsvUsDirective])
|
||||
module.directive("tgCsvUs", ["$translate", CsvUsDirective])
|
||||
|
||||
CsvTaskDirective = () ->
|
||||
CsvTaskDirective = ($translate) ->
|
||||
link = ($scope) ->
|
||||
$scope.csvType = "Task"
|
||||
$scope.csvType = $translate.instant("ADMIN.REPORTS.CSV_TYPE_TASKS")
|
||||
|
||||
return {
|
||||
controller: "CsvExporterTasksController",
|
||||
|
@ -401,11 +401,11 @@ CsvTaskDirective = () ->
|
|||
scope: true
|
||||
}
|
||||
|
||||
module.directive("tgCsvTask", [CsvTaskDirective])
|
||||
module.directive("tgCsvTask", ["$translate", CsvTaskDirective])
|
||||
|
||||
CsvIssueDirective = () ->
|
||||
CsvIssueDirective = ($translate) ->
|
||||
link = ($scope) ->
|
||||
$scope.csvType = "Issues"
|
||||
$scope.csvType = $translate.instant("ADMIN.REPORTS.CSV_TYPE_ISSUES")
|
||||
|
||||
return {
|
||||
controller: "CsvExporterIssuesController",
|
||||
|
@ -414,4 +414,4 @@ CsvIssueDirective = () ->
|
|||
scope: true
|
||||
}
|
||||
|
||||
module.directive("tgCsvIssue", [CsvIssueDirective])
|
||||
module.directive("tgCsvIssue", ["$translate", CsvIssueDirective])
|
||||
|
|
|
@ -185,7 +185,10 @@
|
|||
"DESCRIPTION": "Download a CSV file or copy the generated URL and open it in your favourite text editor or spreadsheet to make your own project data reports. You will be able to visualize and analize all your data easily.",
|
||||
"HELP": "How to use this on my own spreadsheet?",
|
||||
"REGENERATE_TITLE": "Change URL",
|
||||
"REGENERATE_SUBTITLE": "You going to change the CSV data access url. The previous url will be disabled. Are you sure?"
|
||||
"REGENERATE_SUBTITLE": "You going to change the CSV data access url. The previous url will be disabled. Are you sure?",
|
||||
"CSV_TYPE_US": "user stories",
|
||||
"CSV_TYPE_TASK": "tasks",
|
||||
"CSV_TYPE_ISSUE": "issues"
|
||||
},
|
||||
"CUSTOM_FIELDS": {
|
||||
"TITLE": "Custom Fields",
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
section.project-csv(tg-select-input-text)
|
||||
div.project-values-title
|
||||
h2 {{csvType}} sdfdsf
|
||||
h2(translate="ADMIN.CSV.TITLE")
|
||||
a.button.button-gray(title="{{'ADMIN.CSV.DOWNLOAD' | translate}}", ng-href="{{csvUrl}}", ng-show="csvUrl", target="_blank")
|
||||
span(translate="ADMIN.CSV.DOWNLOAD")
|
||||
|
||||
div.csv-regenerate-field
|
||||
.field-with-options
|
||||
input(type="text", placeholder="{{'ADMIN.CSV.URL_FIELD_PLACEHOLDER' | translate}}", readonly, ng-model="csvUrl")
|
||||
.option-wrapper.select-input-content
|
||||
.icon.icon-copy
|
||||
a(href="", title="{{'ADMIN.CSV.TITLE_REGENERATE_URL' | translate}}", ng-click="ctrl.regenerateUuid()")
|
||||
span.icon.icon-plus(ng-hide="csvUrl")
|
||||
span(ng-hide="csvUrl", translate="ADMIN.CSV.ACTION_GENERATE_URL")
|
||||
span.icon.icon-reload(ng-Show="csvUrl")
|
||||
span(ng-Show="csvUrl", translate="ADMIN.CSV.ACTION_REGENERATE")
|
Loading…
Reference in New Issue