mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Update readme file and scripts
This commit is contained in:
		| @@ -8,7 +8,7 @@ msgid "" | |||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: PACKAGE VERSION\n" | "Project-Id-Version: PACKAGE VERSION\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2019-09-25 23:59+0000\n" | "POT-Creation-Date: 2019-09-26 00:37+0000\n" | ||||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | "Language-Team: LANGUAGE <LL@li.org>\n" | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ msgid "" | |||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: PACKAGE VERSION\n" | "Project-Id-Version: PACKAGE VERSION\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2019-09-26 00:27+0000\n" | "POT-Creation-Date: 2019-09-26 00:37+0000\n" | ||||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | "Language-Team: LANGUAGE <LL@li.org>\n" | ||||||
| @@ -20,7 +20,7 @@ msgstr "" | |||||||
|  |  | ||||||
| #: InvenTree/helpers.py:157 order/models.py:158 order/models.py:203 | #: InvenTree/helpers.py:157 order/models.py:158 order/models.py:203 | ||||||
| msgid "Invalid quantity provided" | msgid "Invalid quantity provided" | ||||||
| msgstr "hello" | msgstr "" | ||||||
|  |  | ||||||
| #: InvenTree/helpers.py:160 | #: InvenTree/helpers.py:160 | ||||||
| msgid "Empty serial number string" | msgid "Empty serial number string" | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ msgid "" | |||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: PACKAGE VERSION\n" | "Project-Id-Version: PACKAGE VERSION\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2019-09-25 23:59+0000\n" | "POT-Creation-Date: 2019-09-26 00:37+0000\n" | ||||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | "Language-Team: LANGUAGE <LL@li.org>\n" | ||||||
|   | |||||||
| @@ -13,9 +13,9 @@ However, powerful business logic works in the background to ensure that stock tr | |||||||
|  |  | ||||||
| For InvenTree documentation, refer to the [user documentation](https://inventree.github.io). | For InvenTree documentation, refer to the [user documentation](https://inventree.github.io). | ||||||
|  |  | ||||||
| ## Code Documentation | ## Developer Documentation | ||||||
|  |  | ||||||
| For project code documentation, refer to the [developer documentation](http://inventree.readthedocs.io/en/latest/) (auto-generated) | For site administrator and project code documentation, refer to the [developer documentation](http://inventree.readthedocs.io/en/latest/). This includes auto-generated documentation of the InvenTree python codebase. | ||||||
|  |  | ||||||
| ## Getting Started | ## Getting Started | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ from __future__ import unicode_literals | |||||||
| import sys | import sys | ||||||
| import subprocess | import subprocess | ||||||
|  |  | ||||||
| print("Checking for uncommitted files...") | print("Checking for uncommitted locale files...") | ||||||
|  |  | ||||||
| cmd = ['git', 'status'] | cmd = ['git', 'status'] | ||||||
|  |  | ||||||
| @@ -17,7 +17,8 @@ out, err = proc.communicate() | |||||||
| locales = [] | locales = [] | ||||||
|  |  | ||||||
| for line in str(out.decode()).split('\n'): | for line in str(out.decode()).split('\n'): | ||||||
|     if 'modified:' in line and '/locale/' in line: |     # Check for any compiled translation files that have not been committed | ||||||
|  |     if 'modified:' in line and '/locale/' in line and 'django.mo' in line: | ||||||
|         locales.append(line) |         locales.append(line) | ||||||
|  |  | ||||||
| if len(locales) > 0: | if len(locales) > 0: | ||||||
|   | |||||||
| @@ -6,6 +6,8 @@ from __future__ import unicode_literals | |||||||
| import sys | import sys | ||||||
| import subprocess | import subprocess | ||||||
|  |  | ||||||
|  | print("Checking for unstaged migration files...") | ||||||
|  |  | ||||||
| cmd = ['git', 'ls-files', '--exclude-standard', '--others'] | cmd = ['git', 'ls-files', '--exclude-standard', '--others'] | ||||||
|  |  | ||||||
| proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user