GeezerVison is showing github.com — * fix definition file builder for custom licenses · DevforAndroid/AboutLibraries@7e56e71
File tree
Expand file treeCollapse file tree
Open diff view settings
DEV/definition-file-builder/js
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: DEV/definition-file-builder/js/custom.js +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -57,9 +57,9 @@ function generateXmlFile() { |
57 | 57 | result = result + '\t' + '<!-- License section -->' + '\n'; |
58 | 58 |
|
59 | 59 | if(licenseId == '') { |
60 | | - result = result + '\t' + '<string name="libray_androidIconify_licenseVersion">LICENSE-NAME</string>' + '\n'; |
61 | | - result = result + '\t' + '<string name="libray_androidIconify_licenseLink">LICENSE-LINK</string>' + '\n'; |
62 | | - result = result + '\t' + '<string name="libray_androidIconify_licenseContent">LICENSE-TEXT</string>' + '\n'; |
| 60 | + result = result + '\t' + '<string name="libray_' + libraryId + '_licenseVersion">LICENSE-NAME</string>' + '\n'; |
| 61 | + result = result + '\t' + '<string name="libray_' + libraryId + '_licenseLink">LICENSE-LINK</string>' + '\n'; |
| 62 | + result = result + '\t' + '<string name="libray_' + libraryId + '_licenseContent">LICENSE-TEXT</string>' + '\n'; |
63 | 63 | } else { |
64 | 64 | result = result + '\t' + '<string name="library_' + libraryId + '_licenseId">' + licenseId + '</string>' + '\n'; |
65 | 65 | } |
|