From 9ad9f6bb2a64acf1e043a4952fa6436714944509 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 5 Mar 2018 17:31:26 +0100 Subject: [PATCH] Including more locs --- .../Support/DownloadUploadedDocument.aspx.cs | 6 +- Site/Site.csproj | 1010 +++++++++++++++++ 2 files changed, 1013 insertions(+), 3 deletions(-) diff --git a/Site/Pages/v5/Support/DownloadUploadedDocument.aspx.cs b/Site/Pages/v5/Support/DownloadUploadedDocument.aspx.cs index 0c75a67e..1ce34e99 100644 --- a/Site/Pages/v5/Support/DownloadUploadedDocument.aspx.cs +++ b/Site/Pages/v5/Support/DownloadUploadedDocument.aspx.cs @@ -179,7 +179,7 @@ namespace Swarmops.Pages.v5.Support { contentType = MediaTypeNames.Application.Pdf; - if (!serverFileNameLower.EndsWith(".pdf")) + if (serverFileNameLower.EndsWith(".png")) { // Converted PDF, so cut filename to raw GUID length @@ -190,12 +190,12 @@ namespace Swarmops.Pages.v5.Support else if (clientFileNameLower == (".png")) { contentType = "image/png"; // why isn't this in MediaTypeNames? - documentDownloadName += ".pdf"; + documentDownloadName += ".png"; } else if (clientFileNameLower.EndsWith (".jpg") || clientFileNameLower.EndsWith(".jpeg")) { contentType = MediaTypeNames.Image.Jpeg; - documentDownloadName += ".pdf"; + documentDownloadName += ".jpg"; } else { diff --git a/Site/Site.csproj b/Site/Site.csproj index 6509d111..3be309c7 100644 --- a/Site/Site.csproj +++ b/Site/Site.csproj @@ -100,6 +100,556 @@ + + True + True + Controls.Swarm.ca-ES.resx + + + True + True + Global.ca-ES.resx + + + True + True + Menu5.ca-ES.resx + + + True + True + Pages.Admin.ca-ES.resx + + + True + True + Pages.Comms.ca-ES.resx + + + True + True + Pages.Financial.ca-ES.resx + + + True + True + Pages.Governance.ca-ES.resx + + + True + True + Pages.Ledgers.ca-ES.resx + + + True + True + Pages.Public.ca-ES.resx + + + True + True + Pages.Security.ca-ES.resx + + + True + True + Pages.Swarm.ca-ES.resx + + + True + True + Controls.Swarm.fil-PH.resx + + + True + True + Global.fil-PH.resx + + + True + True + Menu5.fil-PH.resx + + + True + True + Pages.Admin.fil-PH.resx + + + True + True + Pages.Comms.fil-PH.resx + + + True + True + Pages.Financial.fil-PH.resx + + + True + True + Pages.Governance.fil-PH.resx + + + True + True + Pages.Ledgers.fil-PH.resx + + + True + True + Pages.Public.fil-PH.resx + + + True + True + Pages.Security.fil-PH.resx + + + True + True + Pages.Swarm.fil-PH.resx + + + True + True + Controls.Swarm.ha-HG.resx + + + True + True + Global.ha-HG.resx + + + True + True + Menu5.ha-HG.resx + + + True + True + Pages.Admin.ha-HG.resx + + + True + True + Pages.Comms.ha-HG.resx + + + True + True + Pages.Financial.ha-HG.resx + + + True + True + Pages.Governance.ha-HG.resx + + + True + True + Pages.Ledgers.ha-HG.resx + + + True + True + Pages.Public.ha-HG.resx + + + True + True + Pages.Security.ha-HG.resx + + + True + True + Pages.Swarm.ha-HG.resx + + + True + True + Controls.Swarm.he-IL.resx + + + True + True + Global.he-IL.resx + + + True + True + Menu5.he-IL.resx + + + True + True + Pages.Admin.he-IL.resx + + + True + True + Pages.Comms.he-IL.resx + + + True + True + Pages.Financial.he-IL.resx + + + True + True + Pages.Governance.he-IL.resx + + + True + True + Pages.Ledgers.he-IL.resx + + + True + True + Pages.Public.he-IL.resx + + + True + True + Pages.Security.he-IL.resx + + + True + True + Pages.Swarm.he-IL.resx + + + True + True + Controls.Swarm.hr-HR.resx + + + True + True + Global.hr-HR.resx + + + True + True + Menu5.hr-HR.resx + + + True + True + Pages.Admin.hr-HR.resx + + + True + True + Pages.Comms.hr-HR.resx + + + True + True + Pages.Financial.hr-HR.resx + + + True + True + Pages.Governance.hr-HR.resx + + + True + True + Pages.Ledgers.hr-HR.resx + + + True + True + Pages.Public.hr-HR.resx + + + True + True + Pages.Security.hr-HR.resx + + + True + True + Pages.Swarm.hr-HR.resx + + + True + True + Controls.Swarm.ja-JP.resx + + + True + True + Global.ja-JP.resx + + + True + True + Menu5.ja-JP.resx + + + True + True + Pages.Admin.ja-JP.resx + + + True + True + Pages.Comms.ja-JP.resx + + + True + True + Pages.Financial.ja-JP.resx + + + True + True + Pages.Governance.ja-JP.resx + + + True + True + Pages.Ledgers.ja-JP.resx + + + True + True + Pages.Public.ja-JP.resx + + + True + True + Pages.Security.ja-JP.resx + + + True + True + Pages.Swarm.ja-JP.resx + + + True + True + Controls.Swarm.ko-KR.resx + + + True + True + Global.ko-KR.resx + + + True + True + Menu5.ko-KR.resx + + + True + True + Pages.Admin.ko-KR.resx + + + True + True + Pages.Comms.ko-KR.resx + + + True + True + Pages.Financial.ko-KR.resx + + + True + True + Pages.Governance.ko-KR.resx + + + True + True + Pages.Ledgers.ko-KR.resx + + + True + True + Pages.Public.ko-KR.resx + + + True + True + Pages.Security.ko-KR.resx + + + True + True + Pages.Swarm.ko-KR.resx + + + True + True + Controls.Swarm.sk-SK.resx + + + True + True + Global.sk-SK.resx + + + True + True + Menu5.sk-SK.resx + + + True + True + Pages.Admin.sk-SK.resx + + + True + True + Pages.Comms.sk-SK.resx + + + True + True + Pages.Financial.sk-SK.resx + + + True + True + Pages.Governance.sk-SK.resx + + + True + True + Pages.Ledgers.sk-SK.resx + + + True + True + Pages.Public.sk-SK.resx + + + True + True + Pages.Security.sk-SK.resx + + + True + True + Pages.Swarm.sk-SK.resx + + + True + True + Controls.Swarm.tr-TR.resx + + + True + True + Global.tr-TR.resx + + + True + True + Menu5.tr-TR.resx + + + True + True + Pages.Admin.tr-TR.resx + + + True + True + Pages.Comms.tr-TR.resx + + + True + True + Pages.Financial.tr-TR.resx + + + True + True + Pages.Governance.tr-TR.resx + + + True + True + Pages.Ledgers.tr-TR.resx + + + True + True + Pages.Public.tr-TR.resx + + + True + True + Pages.Security.tr-TR.resx + + + True + True + Pages.Swarm.tr-TR.resx + + + True + True + Controls.Swarm.yo-NG.resx + + + True + True + Global.yo-NG.resx + + + True + True + Menu5.yo-NG.resx + + + True + True + Pages.Admin.yo-NG.resx + + + True + True + Pages.Comms.yo-NG.resx + + + True + True + Pages.Financial.yo-NG.resx + + + True + True + Pages.Governance.yo-NG.resx + + + True + True + Pages.Ledgers.yo-NG.resx + + + True + True + Pages.Public.yo-NG.resx + + + True + True + Pages.Security.yo-NG.resx + + + True + True + Pages.Swarm.yo-NG.resx + Json-MasterPersonEditPaymentHistory.aspx ASPXCodeBehind @@ -4371,6 +4921,466 @@ Logic + + + GlobalResourceProxyGenerator + Controls.Swarm.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Global.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Menu5.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.yo-NG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.yo-NG.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Global.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Menu5.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.tr-TR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.tr-TR.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Global.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Menu5.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.sk-SK.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.sk-SK.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Global.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Menu5.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.ko-KR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.ko-KR.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Global.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Menu5.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.ja-JP.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.ja-JP.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Global.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Menu5.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.hr-HR.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.hr-HR.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Global.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Menu5.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.he-IL.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.he-IL.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Global.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Menu5.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.ha-HG.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.ha-HG.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Global.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Menu5.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.fil-PH.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.fil-PH.designer.cs + + + + + GlobalResourceProxyGenerator + Controls.Swarm.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Global.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Menu5.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Admin.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Comms.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Financial.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Governance.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Ledgers.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Public.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Security.ca-ES.designer.cs + + + GlobalResourceProxyGenerator + Pages.Swarm.ca-ES.designer.cs + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)