File: strpas2jsdesign.pp

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (172 lines) | stat: -rw-r--r-- 8,550 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
unit StrPas2JSDesign;

{$mode objfpc}{$H+}

interface

uses FileProcs, sysutils;

Resourcestring
  // "Create new" dialog
  pjsdWebApplication = 'Web Browser Application';
  pjsdWebAppDescription = 'A pas2js program running in the browser.';
  pjsdProgressiveWebApplication = 'Progressive Web Application';
  pjsdElectronWebApplication = 'Electron Web Application';
  pjsdAWebApplicationUsingElectronToRunAsDesktopApplicat = 'A pas2js Web Application '
    +'using Electron to run as desktop application.';
  pjsdOverwrite = 'Overwrite?';
  pjsdError = 'Error';
  pjsdMissing2 = 'Missing %s';
  pjsdDownloadError = 'Download error:%s';
  pjsdNote2 = 'Note';
  pjsdFound = 'Found %s';
  pjsdMissing = 'Missing';
  pjsdDownloading = 'Downloading "%s" ...';
  pjsdNote = 'Note: %s';
  pjsdDownloading2 = 'Downloading';
  pjsdDownloadedBytes = 'Downloaded %s bytes';
  pjsdDownloadPas2jsRelease = 'Download Pas2JS Release?';
  pjsdUnableToCreateDirectory = 'Unable to create directory "%s".';
  pjsdSelectDirectoryWhereToExtractPas2js = 'Select directory where to extract Pas2JS';
  pjsdConfirmation = 'Confirmation';
  pjsdChangeSimpleWebServerFromTo = 'Change Simple Web Server from%s"%s"%sto%s'
    +'"%s"%s?';
  pjsdWarning = 'Warning';
  pjsdThePas2jsExecutableFilenameDoesNotLookLikePas2js =
    'The executable filename "%s" does not look like pas2js.';
  pjsdNewProjectFile = 'New project file';
  pjsdProjectPascalFile = 'Project Pascal file';
  pjsdPleaseChooseAFileWithFullPath = 'Please choose a file with full path.';
  pjsdOverwriteFiles = 'Overwrite files:';
  pjsdProgressiveWebAppDescription = 'A pas2js Web Application using a service worker, a manifest, and more to be installable.';
  pjsdServiceWorker = 'Pas2JS Service Worker';
  pjsdServiceWorkerDescription = 'A pas2js program running as cache for a web app. It does not run standalone.';
  pjsdNodeJSApplication = 'Node.js Application';
  pjsdNodeJSAppDescription = 'A pas2js program running in node.js.';
  pjsdModuleApplication = 'Pas2JS Library / JavaScript module';
  pjsdModuleAppDescription = 'A pas2js library that is transpiled to a JavaScript module.';
  pjsdNewAtomPackage = 'Atom package';
  pjsdNewAtomPackageDescr = 'A pas2js program running as Atom package.';
  pjsdNewVSCodeExtension = 'Visual Studio Code extension';
  pjsdNewVSCodeExtensionDescr = 'A pas2js program running as Visual Studio Code extension.';

  // IDE options frame
  pjsdSelectPas2jsExecutable = 'Select pas2js executable';
  pjsdSelectPas2jsSourceDirectory = 'Select pas2js source directory';
  pjsdCancel = 'Cancel';
  pjsdPas2jsInstaller = 'Pas2JS Installer';
  pjsdSelectNodeJSExecutable = 'Select Node.js executable';
  pjsdUnableToFindPas2jsAt = 'Unable to find "%s"';
  pjsdPas2jsIsNotExecutableAt = '"%s" is not an executable';
  pjsdSelectBrowserExecutable = 'Select browser executable';
  pjsdSelectAtomTemplateDir = 'Select Atom package template directory';
  pjsdSelectElectronExecutable = 'Select Electron executable';
  pjsdSelectVSCodeTemplateDir = 'Select Visual Studio Code extension template directory';
  pjsdYouCanUseIDEMacrosLikeMakeExeWithoutAFullPathIsSea = 'You can use IDE '
    +'macros like $MakeExe(). Without a full path, %s is searched in PATH.';
  pjsdPathOfXMacroPas2js = 'Path of %s, macro $(pas2js)';
  pjsdBrowse = 'Browse';
  pjsdDetails = 'Details';
  pjsdDownloadRelease = 'Download Release';
  pjsdApply = 'Apply';
  pjsdClose = 'Close';
  pjsdSelectFreePascalCompilerExecutable = 'Select Free Pascal Compiler '
    +'executable';
  pjsdSelectFreePascalSourceDirectory = 'Select Free Pascal source directory';
  pjsdThereIsNoReleaseForTarget = 'There is no release for target "%s-%s".';
  pjsdError2 = 'Error: %s';
  pjsdFPCSourceDirectory = 'FPC source directory:';
  pjsdFreePascalCompilerUsedForCompilingToolsAndPas2jsIt = 'Free Pascal '
    +'Compiler used for compiling tools and pas2js itself';
  pjsdFPCExecutable = 'FPC executable:';
  pjsdPas2jsSourceDirectory = 'Pas2JS source directory';
  pjsdWebServerAndBrowserOptions = 'Web server and browser options';
  pjsdPortNumberToStartAllocatingFrom = 'Port number to start allocating '
    +'from, macro $(Pas2JSWebServerPort)';
  pjsdServerInstancesWillBeStartedWithAPortStartingFromT = 'Server instances '
    +'will be started with a port starting from this number, increasing per '
    +'new project';
  pjsdPathOfNodeJsExecutable = 'Path of Node.js executable, macro $(Pas2JSNodeJS)';
  pjsdAtomPackageTemplateDirectory = 'Atom package template directory';
  pjsdPathOfElectronExecutableMacroPas2JSElectron = 'Path of Electron '
    +'executable, macro $(Pas2JSElectron)';
  pjsdVisualStudioCodeExtensionTemplateDirectory = 'Visual Studio Code '
    +'extension template directory';

  // Project options frame
  pjsdWebProjectPas2js = 'Web Project (pas2js)';
  pjsdProjectIsAWebBrowserPas2jsProject = 'Project is a Web Browser (pas2js) '
    +'project';
  pjsdProjectHTMLPage = 'Project HTML page:';
  pjsdMaintainHTMLPage = 'Maintain HTML page';
  pjsdUseBrowserConsoleUnitToDisplayWritelnOutput = 'Use BrowserConsole unit '
    +'to display writeln() output';
  pjsdRunRTLWhenAllPageResourcesAreFullyLoaded = 'Run RTL when all page '
    +'resources are fully loaded';
  pjsdRun = 'Run';
  pjsdStartHTTPServerOnPort = 'Start HTTP Server on port';
  pjsdTheSimpleWebServerIsAutomaticallyStartedOnRunTheLo = 'The Simple Web '
    +'Server is automatically started on Run. The location is like a subfolder '
    +'in the URL serving the disk folder of the HTML file.';
  pjsdLocationOnSimpleWebServer = 'Location on Simple Web Server';
  pjsCreateAJavascriptModuleInsteadOfAScript = 'Create a javascript module '
    +'instead of a script';
  pjsdUseThisURLToStartApplication = 'Use this URL to start application';
  pjsExecuteRunParameters = 'Execute Run Parameters';
  pjsdUseThisWhenYouStartYourOwnHttpServer = 'Use this when you start your own'
    +' HTTP server';
  pjsdResetRunCommand = 'Reset Run command';
  pjsdResetCompileCommand = 'Reset Compile command';
  pjsMakePas2jsProject = 'Make pas2js project';

  // New browser project options form
  pjsdPas2JSBrowserProjectOptions = 'Pas2JS Browser project options';
  pjsdCreateInitialHTMLPage = 'Create initial HTML page';
  pjsdLetRTLShowUncaughtExceptions = 'Let RTL show uncaught exceptions';
  pjsdUseBrowserApplicationObject = 'Use Browser Application object';
  pjsdUseWASIApplicationObject = 'Run WebAssembly program:';
  pjsWasiProgramFileTextHint = 'Name of your WebAssembly file';

  // New NodeJS project options form
  pjsdNodeJSProjectOptions = 'NodeJS project options';
  pjsdUseNodeJSApplicationObject = 'Use NodeJS Application object';

  // New class definition from HTML File
  rsCreateClassFromHTMLName = 'Pas2JS class definition from HTML file';
  rsCreateClassFromHTMLDescription = 'Create a Pas2JS "form" class definition from HTML file using ID attributes in the HTML file.';

  rsCreateUnitFromTypeScript = 'Pas2JS import unit from TypeScript declaration module';
  rsCreateUnitFromTypeScriptDescription = 'Create a Pas2JS import unit from a TypeScript declaration module.';
  rsDTSDidNotProduceOutput = 'The DTS2pas tool did not produce an output file.';


  // Macros names
  pjsdPas2JSExecutable = 'Pas2JS executable';
  pjsdPas2JSSelectedBrowserExecutable = 'Pas2JS selected browser executable';
  pjsdPas2JSSelectedNodeJSExcutable = 'Pas2JS selected NodeJS excutable';
  pjsdPas2JSSelectedElectronExcutable = 'Pas2JS selected Electron excutable';
  pjsdPas2JSCurrentProjectURL = 'Pas2JS current project URL';

  // Error descriptions
  pjsdMissingPathToPas2js = 'missing path to pas2js';
  pjsdFileNotFound = 'file "%s" not found';
  pjsdDirectoryNotFound = 'directory "%s" not found';
  pjsdFileNotExecutable = 'file "%s" not executable';
  pjsdFileNameDoesNotStartWithPas2js = 'filename does not start with "pas2js"';
  pjsdHTMLFilter = 'HTML Files|*.html|All files|*.*';
  pjsdHTMLSourceFileNotFound = 'HTML Source not found';
  pjsdHTMLFileNotFound = 'Cannot find the HTML Source file for the class in unit %s:'+LineEnding+
                         '%s'+LineEnding+
                         'Would you like to select the file from disk?';
  pjsdBtnSelectFile = 'Select the file';
  pjsdButtonCancel = 'Cancel refresh';

  pjsRefreshClassFromHTML = 'Refresh class from HTML source';
  pjsdInstallUpdatePas2JS = 'Install/Update Pas2JS';
  pjsRefreshAllClassesFromHTML = 'Refresh all classes from HTML source';
  rsHTTPRequestFailed = 'HTML request to service URL %s failed: %s';

implementation

end.