mirror of https://github.com/gophish/gophish
Localization registeries of htmls
parent
563368d64c
commit
f034d15aa2
|
@ -121,5 +121,43 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"Email Sent": "{{T "Email Sent"}}",
|
||||
"Email Opened": "{{T "Email Opened"}}",
|
||||
"Clicked Link": "{{T "Clicked Link"}}",
|
||||
"Success": "{{T "Success"}}",
|
||||
"Error": "{{T "Error"}}",
|
||||
"Error Sending Email": "{{T "Error Sending Email"}}",
|
||||
"Submitted Data": "{{T "Submitted Data"}}",
|
||||
"Unknown": "{{T "Unknown"}}",
|
||||
"Sending": "{{T "Sending"}}",
|
||||
"Campaign Created": "{{T "Campaign Created"}}",
|
||||
"Are you sure?": "{{T "Are you sure?"}}",
|
||||
"This will delete the campaign. This can't be undone!": "{{T "This will delete the campaign. This can't be undone!"}}",
|
||||
"Delete Campaign": "{{T "Delete Campaign"}}",
|
||||
"Campaign Deleted!": "{{T "Campaign Deleted!"}}",
|
||||
"This campaign has been deleted!": "{{T "This campaign has been deleted!"}}",
|
||||
"Gophish will stop processing events for this campaign": "{{T "Gophish will stop processing events for this campaign"}}",
|
||||
"Complete Campaign": "{{T "Complete Campaign"}}",
|
||||
"Campaign Completed!": "{{T "This campaign has been completed!"}}",
|
||||
"Completed!": "{{T "Completed!"}}",
|
||||
"Where do you want the credentials submitted to?": "{{T "Where do you want the credentials submitted to?"}}",
|
||||
"http://example.com/login": "{{T "http://example.com/login"}}",
|
||||
"Invalid URL.": "{{T "Invalid URL."}}",
|
||||
"Timeline for": "{{T "Timeline for"}}",
|
||||
"Email": "{{T "Email"}}",
|
||||
"Replay Credentials": "{{T "Replay Credentials"}}",
|
||||
"View Details": "{{T "View Details"}}",
|
||||
"Parameter": "{{T "Parameter"}}",
|
||||
"Value(s)": "{{T "Value(s)"}}",
|
||||
"View Details": "{{T "View Details"}}",
|
||||
"Error": "{{T "Error"}}",
|
||||
"Completed!": "{{T "Completed!"}}",
|
||||
"Events": "{{T "Events"}}",
|
||||
"Email:": "{{T "Email:"}}",
|
||||
"Campaign not found!": "{{T "Campaign not found!"}}",
|
||||
}
|
||||
</script>
|
||||
<script src="/js/dist/app/campaign_results.min.js"></script>
|
||||
{{end}}
|
||||
|
|
|
@ -144,5 +144,36 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"In progress": "{{T "In progress"}}",
|
||||
"Queued": "{{T "Queued"}}",
|
||||
"Completed": "{{T "Completed"}}",
|
||||
"Emails Sent": "{{T "Emails Sent"}}",
|
||||
"Error": "{{T "Error"}}",
|
||||
"Are you sure?": "{{T "Are you sure?"}}",
|
||||
"This will schedule the campaign to be launched.": "{{T "This will schedule the campaign to be launched."}}",
|
||||
"Campaign Scheduled!": "{{T "Campaign Scheduled!"}}",
|
||||
"This campaign has been scheduled for launch!": "{{T "This campaign has been scheduled for launch!"}}",
|
||||
"Sending": "{{T "Sending"}}",
|
||||
"Email Sent!": "{{T "Email Sent!"}}",
|
||||
"This will delete the campaign. This can't be undone!": "{{T "This will delete the campaign. This can't be undone!"}}",
|
||||
"Delete": "{{T "Delete"}}",
|
||||
"Campaign Deleted!": "{{T "Campaign Deleted!"}}",
|
||||
"This campaign has been deleted!": "{{T "This campaign has been deleted!"}}",
|
||||
"No groups found!": "{{T "No groups found!"}}",
|
||||
"Select Groups": "{{T "Select Groups"}}",
|
||||
"Select a Template": "{{T "Select a Template"}}",
|
||||
"No pages found!": "{{T "No pages found!"}}",
|
||||
"Select a Landing Page":"{{T "Select a Landing Page"}}",
|
||||
"No profiles found!": "{{T "No profiles found!"}}",
|
||||
"Select a Sending Profile": "{{T "Select a Sending Profile"}}",
|
||||
"Copy of": "{{T "Copy of"}}",
|
||||
"View Results": "{{T "View Results"}}",
|
||||
"Copy Campaign": "{{T "Copy Campaign"}}",
|
||||
"Delete Campaign": "{{T "Delete Campaign"}}",
|
||||
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
||||
}
|
||||
</script>
|
||||
<script src="/js/dist/app/campaigns.min.js"></script>
|
||||
{{end}}
|
||||
|
|
|
@ -84,11 +84,20 @@
|
|||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"Delete": "Sil",
|
||||
"View Results": "Sonuçları Göster",
|
||||
"Delete Campaign": "Kampanyayı Sil"
|
||||
}
|
||||
localizedDatas = {
|
||||
"In progress": "{{T "In progress"}}",
|
||||
"Queued": "{{T "Queued"}}",
|
||||
"Completed": "{{T "Completed"}}",
|
||||
"Emails Sent": "{{T "Emails Sent"}}",
|
||||
"Error": "{{T "Error"}}",
|
||||
"Delete": "{{T "Delete"}}",
|
||||
"View Results": "{{T "View Results"}}",
|
||||
"Delete Campaign": "{{T "Delete Campaign"}}",
|
||||
"Unsuccessful Phishes": "{{T "Unsuccessful Phishes"}}",
|
||||
"Successful Phishes": "{{T "Successful Phishes"}}",
|
||||
"Successes": "{{T "Successes"}}",
|
||||
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
||||
}
|
||||
</script>
|
||||
<script src="/js/src/app/dashboard.js"></script>
|
||||
<script src="/js/dist/app/dashboard.min.js"></script>
|
||||
{{end}}
|
||||
|
|
|
@ -135,6 +135,19 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"Page edited successfully!": "{{T "Page edited successfully!"}}",
|
||||
"Page added successfully!": "{{T "Page added successfully!"}}",
|
||||
"Delete": "{{T "Delete"}}",
|
||||
"No URL Specified!": "{{T "No URL Specified!"}}",
|
||||
"Copy of": "{{T "Copy of"}}",
|
||||
"Edit Page": "{{T "Edit Page"}}",
|
||||
"Copy Page": "{{T "Copy Page"}}",
|
||||
"Delete Page": "{{T "Delete Page"}}",
|
||||
"Error fetching pages": "{{T "Error fetching pages"}}",
|
||||
}
|
||||
</script>
|
||||
<script src="/js/src/vendor/ckeditor/ckeditor.js"></script>
|
||||
<script src="/js/src/vendor/ckeditor/adapters/jquery.js"></script>
|
||||
<script src="/js/dist/app/landing_pages.min.js"></script>
|
||||
|
|
|
@ -136,6 +136,17 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"Email Sent!": "{{T "Email Sent!"}}",
|
||||
"Profile edited successfully!": "{{T "Profile edited successfully!"}}",
|
||||
"Profile added successfully!": "{{T "Profile added successfully!"}}",
|
||||
"Edit Profile": "{{T "Edit Profile"}}",
|
||||
"Copy Profile": "{{T "Copy Profile"}}",
|
||||
"Delete Profile": "{{T "Delete Profile"}}",
|
||||
"Error fetching profiles": "{{T "Error fetching profiles"}}"
|
||||
}
|
||||
</script>
|
||||
<script src="/js/ckeditor/ckeditor.js"></script>
|
||||
<script src="/js/ckeditor/adapters/jquery.js"></script>
|
||||
<script src="/js/dist/app/sending_profiles.min.js"></script>
|
||||
|
|
|
@ -92,5 +92,8 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {}
|
||||
</script>
|
||||
<script src="/js/dist/app/settings.min.js"></script>
|
||||
{{end}}
|
||||
|
|
|
@ -154,6 +154,18 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"Template edited successfully!": "{{T "Template edited successfully!"}}",
|
||||
"Template added successfully!": "{{T "Template added successfully!"}}",
|
||||
"Delete": "{{T "Delete"}}",
|
||||
"No Content Specified!": "{{T "No Content Specified!"}}",
|
||||
"Edit Template": "{{T "Edit Template"}}",
|
||||
"Copy Template": "{{T "Copy Template"}}",
|
||||
"Delete Template": "{{T "Delete Template"}}",
|
||||
"Error fetching templates": "{{T "Error fetching templates"}}",
|
||||
}
|
||||
</script>
|
||||
<script src="/js/src/vendor/ckeditor/ckeditor.js"></script>
|
||||
<script src="/js/src/vendor/ckeditor/adapters/jquery.js"></script>
|
||||
<script src="/js/dist/app/templates.min.js"></script>
|
||||
|
|
|
@ -120,5 +120,15 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script>
|
||||
localizedDatas = {
|
||||
"Group updated successfully!": "{{T "Group updated successfully!"}}",
|
||||
"Group added successfully!": "{{T "Group added successfully!"}}",
|
||||
"Error fetching group": "{{T "Error fetching group"}}",
|
||||
"Unsupported file extension (use .csv or .txt)": "{{T "Unsupported file extension (use .csv or .txt)"}}",
|
||||
"Delete": "{{T "Delete"}}",
|
||||
"Error fetching groups": "{{T "Error fetching groups"}}"
|
||||
}
|
||||
</script>
|
||||
<script src="/js/dist/app/users.min.js"></script>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue