\n {%- if row.lab_test_uom -%} {{ row.lab_test_uom }}{%- endif -%}\n
\n\n
\n
\n {%- if row.normal_range -%}{{ row.normal_range }}{%- endif -%}\n
\n
\n
\n\n {%- endfor -%}\n {%- endif -%}\n \n
\n\n\t
\n \n {%- if doc.descriptive_test_items -%}\n
\n
Name of Test
\n
Result
\n
\n
{{ doc.lab_test_name }}
\n\t\t\t{% set gr_lab_test_name = {'ltname': ''} %}\n {%- for row in doc.descriptive_test_items -%}\n\t\t\t{%- if row.lab_test_name -%}\n\t\t\t{%- if row.lab_test_name != gr_lab_test_name.ltname -%}\n\t\t\t
\n\t\t\t\t\t{%- if row.result_value -%}\n\t\t\t\t\t\t{%- if row.bold -%}{% endif %}\n\t\t\t\t\t\t{%- if row.underline -%}{% endif %}\n\t\t\t\t\t\t{%- if row.italic -%}{% endif %}\n {{ row.result_value }}\n {%- if row.lab_test_uom -%} {{ row.lab_test_uom }}{%- endif -%}\n\t\t\t\t\t\t{%- if row.italic -%}{% endif %}\n\t\t\t\t\t\t{%- if row.underline -%}{% endif %}\n\t\t\t\t\t\t{%- if row.bold -%}{% endif %}\n\t\t\t\t\t{%- endif -%}\n \n\t\t\t\t\t{%- if row.secondary_uom and row.conversion_factor and row.secondary_uom_result -%}\n\t\t\t\t\t\t \n\t\t\t\t\t\t{%- if row.bold -%}{% endif %}\n\t\t\t\t\t\t{%- if row.underline -%}{% endif %}\n\t\t\t\t\t\t{%- if row.italic -%}{% endif %}\n {{ row.secondary_uom_result }}\n {{ row.secondary_uom }}\n\t\t\t\t\t\t{%- if row.italic -%}{% endif %}\n\t\t\t\t\t\t{%- if row.underline -%}{% endif %}\n\t\t\t\t\t\t{%- if row.bold -%}{% endif %}\n\t\t\t\t\t\t \n\t\t\t\t\t{%- endif -%}\n
\n\n
\n
\n {%- if row.normal_range -%}{{ row.normal_range }}{%- endif -%}\n
\n
\n
\n\n {%- endfor -%}\n {%- endif -%}\n \n
\n\n
\n \n {%- if doc.descriptive_test_items -%}\n
\n
Name of Test
\n
Result
\n
\n
{{ doc.lab_test_name }}
\n\t\t\t{% set gr_lab_test_name = {'ltname': ''} %}\n {%- for row in doc.descriptive_test_items -%}\n\t\t\t{%- if row.lab_test_name -%}\n\t\t\t{%- if row.lab_test_name != gr_lab_test_name.ltname -%}\n\t\t\t
\n {% if doc.result_legend and (doc.legend_print_position == \"Bottom\" or doc.legend_print_position == \"Both\" or doc.legend_print_position == \"\")%}\n \n Result Legend\n {{ doc.result_legend }}\n {%- endif -%}\n
+ """.format(html)
+
+ html = ""
+ col_on += 1
+
+ if df.label:
+ html += " " + df.label
+ continue
+
+ # on table iterate through items and create table
+ # based on the in_list_view property
+ # append to section html or doc html
+ if df.fieldtype == "Table":
+ items = doc.get(df.fieldname)
+ if not items:
+ continue
+ child_meta = frappe.get_meta(df.options)
+
+ if not has_data:
+ has_data = True
+ table_head = table_row = ""
+ create_head = True
+
+ for item in items:
+ table_row += "
"
+ for cdf in child_meta.fields:
+ if cdf.in_list_view:
+ if create_head:
+ table_head += "
" + cdf.label + "
"
+ if item.get(cdf.fieldname):
+ table_row += "
" + cstr(item.get(cdf.fieldname)) + "
"
+ else:
+ table_row += "
"
+
+ create_head = False
+ table_row += "
"
+
+ if sec_on:
+ section_html += """
+
+ {0} {1}
+
+ """.format(table_head, table_row)
+ else:
+ html += """
+
+ {0} {1}
+
+ """.format(table_head, table_row)
+ continue
+
+ # on any other field type add label and value to html
+ if not df.hidden and not df.print_hide and doc.get(df.fieldname) and df.fieldname not in exclude_fields:
+ formatted_value = format_value(doc.get(df.fieldname), meta.get_field(df.fieldname), doc)
+ html += " {0} : {1}".format(df.label or df.fieldname, formatted_value)
+
+ if not has_data : has_data = True
+
+ if sec_on and col_on and has_data:
+ doc_html += section_html + html + "
"
+ elif sec_on and not col_on and has_data:
+ doc_html += """
+
`).append($row);
+ }
+ return $row
+};
+
+var add_to_item_line = function(frm, checked_values, invoice_healthcare_services){
+ if(invoice_healthcare_services){
+ frappe.call({
+ doc: frm.doc,
+ method: "set_healthcare_services",
+ args:{
+ checked_values: checked_values
+ },
+ callback: function() {
+ frm.trigger("validate");
+ frm.refresh_fields();
+ }
+ });
+ }
+ else{
+ for(let i=0; i 1){
+ frappe.model.set_value(si_item.doctype, si_item.name, 'qty', parseFloat(checked_values[i]['qty']));
+ }
+ }
+ frm.refresh_fields();
+ }
+};
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/templates/__init__.py b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/templates/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/templates/pages/__init__.py b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/templates/pages/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/healthcare/license.txt b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/license.txt
new file mode 100644
index 0000000..f288702
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/license.txt
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/healthcare/pyproject.toml b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/pyproject.toml
new file mode 100644
index 0000000..8043dd9
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/pyproject.toml
@@ -0,0 +1,11 @@
+[tool.black]
+line-length = 99
+
+[tool.isort]
+line_length = 99
+multi_line_output = 3
+include_trailing_comma = true
+force_grid_wrap = 0
+use_parentheses = true
+ensure_newline_before_comments = true
+indent = "\t"
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/healthcare/requirements.txt b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/requirements.txt
new file mode 100644
index 0000000..7668191
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/requirements.txt
@@ -0,0 +1 @@
+# frappe -- https://github.com/frappe/frappe is installed via 'bench init'
\ No newline at end of file
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/healthcare/setup.py b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/setup.py
new file mode 100644
index 0000000..6e7ba6e
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/healthcare/setup.py
@@ -0,0 +1,19 @@
+from setuptools import setup, find_packages
+
+with open("requirements.txt") as f:
+ install_requires = f.read().strip().split("\n")
+
+# get version from __version__ variable in healthcare/__init__.py
+from healthcare import __version__ as version
+
+setup(
+ name="healthcare",
+ version=version,
+ description="healthcare",
+ author="healthcare",
+ author_email="healthcare",
+ packages=find_packages(),
+ zip_safe=False,
+ include_package_data=True,
+ install_requires=install_requires
+)
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/module_result.csv b/translator/translator/doctype/extract_strings_job/fixtures/module_result.csv
new file mode 100644
index 0000000..188e706
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/module_result.csv
@@ -0,0 +1,602 @@
+position,source_text,context,line_no,module,type,document_name
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/hooks.py,Personal Details,,239,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/hooks.py,Timesheets,,240,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/hooks.py,Lab Test,,241,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/hooks.py,Prescription,,242,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/hooks.py,Patient Appointment,,243,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/config/desktop.py,Healthcare,,10,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/dashboard_chart_source/department_wise_patient_appointments/department_wise_patient_appointments.js,Company,,8,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Patient History,,5,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Select Patient,,34,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Patient History,,57,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Select Document Type,,78,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Date Range,,101,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,No more records..,,140,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,No more records..,,223,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Today,,235,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Yesterday,,237,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,on {0},,239,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Occupation,,268,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Blood Group,,269,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Allerigies,,270,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Medication,,271,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Alcohol use,,272,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Alcohol past use,,273,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Tobacco use,,274,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Tobacco past use,,275,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Medical history,,276,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Surgical history,,277,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Occupational hazards,,278,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Other risk factors,,279,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,More info,,280,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Blood Pressure,,374,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Respiratory/Pulse Rate,,377,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Temperature,,380,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,BMI,,383,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history_sidebar.html,Gender: ,,12,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history_sidebar.html,Contact: ,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Patient Progress,,5,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Patient,,34,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Patient Progress,,57,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Therapy Type,,277,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Assessment Template,,338,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,{0} out of {1},,385,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Assessment Template,,405,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Assessment Parameter,,466,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Gender: ,,12,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Contact: ,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Total Therapy Sessions: ,,18,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Monthly Therapy Sessions: ,,21,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Patient Profile,,25,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Therapy Plan,,26,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Patient History,,27,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Targetted,,99,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Completed,,100,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Score Obtained,,123,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Sessions,,150,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Average Score,,151,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Score,,189,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/web_form/personal_details/personal_details.py,You need to be logged in to access this page,,10,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Laboratory,,179,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,All Item Groups,,180,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Drug,,181,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,All Item Groups,,182,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Low Sensitivity,,188,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,High Sensitivity,,189,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Moderate Sensitivity,,190,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Susceptible,,191,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Resistant,,192,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Intermediate,,193,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Healthcare Practitioner,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Symptoms,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Diagnosis,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Drug Prescription,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Lab Tests,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Clinical Procedures,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Therapies,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Review Details,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Procedure Template,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Healthcare Practitioner,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Notes,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Service Unit,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Start Time,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Sample,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Test Template,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Healthcare Practitioner,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Test Name,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Lab Technician Name,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Sample ID,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Normal Test Result,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Descriptive Test Result,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Organism Test Result,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Sensitivity Test Result,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Comments,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Therapy Type,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Healthcare Practitioner,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Therapy Plan,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Duration,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Location,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Healthcare Service Unit,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Start Time,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Exercises,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Total Counts Targeted,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Total Counts Completed,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Body Temperature,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Heart Rate / Pulse,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Respiratory rate,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Tongue,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Abdomen,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Reflexes,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Blood Pressure,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Notes,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Height (In Meter),,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Weight (In Kilogram),,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,BMI,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Healthcare Practitioner,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Start Date,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,End Date,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Medication Orders,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/setup.py,Total Orders,,0,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Please set a Customer linked to the Patient,,41,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Customer Not Found,,43,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Please configure Clinical Procedure Consumable Item in {0},,188,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Missing Configuration,,190,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Out Patient Consulting Charge Item,,367,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Inpatient Visit Charge Item,,369,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Missing Configuration,,373,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,OP Consulting Charge,,377,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Inpatient Visit Charge,,379,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,Missing Configuration,,383,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,The item referenced by {0} - {1} is already invoiced,,466,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/utils.py,{0} for {1},,539,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,From Date,,8,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,To Date,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Company,,22,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Lab Test Template,,29,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Patient,,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Medical Department,,41,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Status,,47,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Invoiced,,53,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,No records found,,19,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Lab Test,,48,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Lab Test Template,,55,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Company,,62,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Patient,,69,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Patient Name,,76,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Lab Technician,,82,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Status,,89,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Invoiced,,95,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Result Date,,101,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Requesting Practitioner,,107,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Medical Department,,114,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.py,Healthcare Practitioner,,70,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.py,Medical Department,,79,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.py,Total,,96,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Tree Type,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Appointment Status,,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Scheduled,,20,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Open,,21,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Closed,,22,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Expired,,23,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Cancelled,,24,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Appointment Type,,29,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Healthcare Practitioner,,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Medical Department,,41,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,From Date,,47,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,To Date,,54,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Range,,61,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Weekly,,64,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Monthly,,65,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Quarterly,,66,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Yearly,,67,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Medical Department,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,From Date,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,To Date,,22,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Range,,29,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Weekly,,32,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Monthly,,33,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Quarterly,,34,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Yearly,,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.py,Diagnosis,,72,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.py,Total,,89,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Company,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,From Date,,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,To Date,,24,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Patient,,31,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Healthcare Service Unit,,37,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Show Completed Orders,,52,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_type/therapy_type.py,Item with Item Code {0} already exists,,122,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_type/therapy_type.js,Change Item Code,,16,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_type/therapy_type.js,Change Item Code,,69,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_type/therapy_type.js,Change Item Code,,96,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.py,Please set a valid Service Unit Capacity to enable Overlapping Appointments,,57,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.py,Mandatory,,58,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.py,Service Unit Name and Company are mandatory to create Healthcare Service Units,,76,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.py,Missing Required Fields,,77,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.py,Number of Service Units to be created should at least be 1,,81,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.py,Invalid Number of Service Units,,82,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.js,Healthcare Service Unit Tree,,21,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit.js,This is a root healthcare service unit and cannot be edited.,,38,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Service Unit Tree,,5,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Company,,12,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,New Service Unit Name,,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Is Group,,21,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Child nodes can be only created under 'Group' type nodes,,22,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Service Unit Type,,25,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Type of the new Service Unit,,26,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Service Unit Capacity,,50,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Sets the number of concurrent appointments allowed,,51,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Warehouse,,55,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,"Optional, if you want to manage stock separately for this Service Unit",,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Company,,60,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Add Multiple,,94,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Add Multiple Service Units,,100,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Service Unit Name,,103,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Will be serially suffixed to maintain uniquness. Example: 'Ward' will be named as 'Ward-####',,104,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Number of Service Units,,107,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Service Unit Type,,111,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Type of the new Service Unit,,112,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Service Unit Capacity,,136,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Sets the number of concurrent appointments allowed,,137,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Warehouse,,141,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,"Optional, if you want to manage stock separately for this Service Unit",,142,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Company,,145,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,{0} Service Units created,,167,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Could not create Service Units,,171,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Creating {0} Service Units,,175,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit/healthcare_service_unit_tree.js,Create,,178,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session_dashboard.py,Assessments,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.py,Therapy Session overlaps with {0},,45,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.py,Therapy Sessions Overlapping,,46,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.py,Therapy Session Charges: {0},,141,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.js,Counts Targeted: {0},,39,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.js,Counts Completed: {0},,40,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.js,Patient Assessment,,45,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.js,Sales Invoice,,54,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_session/therapy_session.js,{0} as on {1},,103,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/treatment_plan_template/treatment_plan_template.py,Patient Age From cannot be less than 0,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/treatment_plan_template/treatment_plan_template.py,Patient Age To cannot be less than 0,,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/treatment_plan_template/treatment_plan_template.py,Patient Age To cannot be less than Patient Age From,,20,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.py,Item {0} is not active,,68,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.py,Item with Item Code {0} already exists,,120,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Change Item Code,,48,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Change Item Code,,63,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Change Item Code,,90,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Template Name,,161,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Enter a name for the Clinical Procedure Template,,162,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Item Code,,166,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Set the Item Code which will be used for billing the Clinical Procedure.,,167,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Item Group,,171,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Select an Item Group for the Clinical Procedure Item.,,172,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Clinical Procedure Rate,,176,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Check this if the Clinical Procedure is billable and also set the rate.,,177,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Allow Stock Consumption,,181,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Check this if the Clinical Procedure utilises consumables. Click ,,182,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js, to know more,,182,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,Medical Department,,187,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template.js,"You can also set the Medical Department for the template. After saving the document, an Item will automatically be created for billing this Clinical Procedure. You can then use this template while creating Clinical Procedures for Patients. Templates save you from filling up redundant data every single time. You can also create templates for other operations like Lab Tests, Therapy Sessions, etc.",,188,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure_template/clinical_procedure_template_dashboard.py,Consultations,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.js,Change Template Code,,36,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.js,Change Template Code,,44,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.js,Change Template Code,,66,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Standard Selling Rate should be greater than zero.,,23,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Sample Quantity cannot be negative or 0,,26,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Invalid Quantity,,26,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Not permitted. Please disable the Lab Test Template,,58,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Conversion Factor is mandatory,,88,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Row #{0}: Conversion Factor is mandatory,,92,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Row #{0}: Conversion Factor is mandatory,,96,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template.py,Lab Test Item {0} already exist,,144,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test_template/lab_test_template_dashboard.py,Lab Tests,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_assessment/patient_assessment.js,{0} out of {1},,68,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_assessment/patient_assessment.js,Status,,80,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Please enter Item Code to get Batch Number,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Complete and Consume,,70,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Complete {0} and Consume Stock?,,71,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Complete {0}?,,74,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Stock Entry {0} created,,88,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Start,,100,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Stock quantity to start the Procedure is not available in the Warehouse {0}. Do you want to record a Stock Entry?,,107,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,{0} as on {1},,157,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Years(s),,367,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Month(s),,367,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.js,Day(s),,367,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.py,Clinical Procedure ({0}):,,89,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.py,Please set Customer in Patient {0},,96,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/clinical_procedure/clinical_procedure.py,Customer Not Found,,96,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan_template/therapy_plan_template_dashboard.py,Therapy Plans,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.js,{0} Fields,,44,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.js,Select Fields,,47,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.js,Search,,58,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.js,Save,,64,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.py,Row #{0}: Document Type {1} is not submittable.,,25,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.py,Patient Medical Record can only be created for submittable document types.,,27,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.py,Row #{0}: No such Field named {1} found in the Document Type {2}.,,34,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_history_settings/patient_history_settings.py,Row #{0}: Field {1} in Document Type {2} is not a Date / Datetime field.,,38,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.js,Make Stock Entry,,37,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.js,No Drug Shortage,,48,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.js,All the drugs are available with sufficient qty to process this Inpatient Medication Entry.,,49,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.js,Fetching Pending Medication Orders,,68,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,No pending medication orders found for selected criteria,,30,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Stock Entry {0} created and ,,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Inpatient Medication Orders updated successfully,,60,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Success,,61,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Row {0}: Cannot create Inpatient Medication Entry against cancelled Inpatient Medication Order {1},,69,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Row {0}: This Medication Order is already marked as completed,,73,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Quantity not available for the following items in warehouse {0}. ,,134,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Please enable Allow Negative Stock in Stock Settings or create Stock Entry to proceed.,,135,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Drug Code,,154,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Shortage Qty,,154,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry.py,Insufficient Stock,,156,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_entry/inpatient_medication_entry_dashboard.py,Reference,,14,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/vital_signs/vital_signs.py,{0} on {1},,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Schedule Discharge,,31,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Schedule Admission,,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Patient History,,41,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Please select Patient,,46,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Vital Signs,,50,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Medical Record,,54,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Clinical Procedure,,58,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Inpatient Medication Order,,63,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Fetching Treatment Plans,,197,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Order Admission,,241,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Scheduling Patient Admission,,267,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Order Discharge,,303,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Please select patient,,336,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Please select patient,,349,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Please select patient,,361,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Years(s),,397,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Month(s),,397,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.js,Day(s),,397,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.py,{0} with {1},,34,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter.py,Therapy Plan {0} created successfully.,,176,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter_dashboard.py,Records,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_encounter/patient_encounter_dashboard.py,Orders,,19,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,Expected and Discharge dates cannot be less than Admission Schedule date,,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,Row #{0}: Check Out datetime cannot be less than Check In datetime,,40,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,"Missing required details, did not create Inpatient Record",,80,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,Cannot mark Inpatient Record as Discharged since there are unbilled services. ,,174,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,Healthcare Service,,192,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,Documents,,192,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.py,Unbilled Services,,194,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record_dashboard.py,Appointments and Encounters,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record_dashboard.py,Lab Tests and Vital Signs,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Admit,,21,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Discharge,,27,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Processing Inpatient Discharge,,53,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Admit,,75,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Processing Patient Admission,,100,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Transfer,,139,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Not Allowed,,152,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Check-in time cannot be greater than the current time,,153,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_record/inpatient_record.js,Process Transfer,,172,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Employee,,115,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,"If you want to track Payroll and other HRMS operations for a Practitoner, create an Employee and link it here.",,116,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Practitioner Schedules,,120,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Set the Practitioner Schedule you just created. This will be used while booking appointments.,,121,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Out Patient Consulting Charge Item,,125,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Create a service item for Out Patient Consulting.,,126,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Inpatient Visit Charge Item,,130,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,"If this Healthcare Practitioner works for the In-Patient Department, create a service item for Inpatient Visits.",,131,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Out Patient Consulting Charge,,135,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Set the Out Patient Consulting Charge for this Practitioner.,,136,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,Inpatient Visit Charge,,141,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.js,"If this Healthcare Practitioner also works for the In-Patient Department, set the inpatient visit charge for this Practitioner.",,142,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.py,User {0} does not exist,,58,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.py,User {0} is disabled,,60,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.py,User {0} is already assigned to Healthcare Practitioner {1},,68,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner_dashboard.py,This is based on transactions against this Healthcare Practitioner.,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner_dashboard.py,Appointments and Patient Encounters,,13,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner_dashboard.py,Consultation,,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Invoice Patient Registration,,23,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Patient Progress,,29,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,View,,32,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Patient History,,34,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,View,,37,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Medical Record,,45,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,AGE,,59,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Please select a valid Date,,71,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,AGE,,75,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Please save the patient first,,115,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.js,Please save the patient first,,125,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,"Please set defaults for Customer Group, Territory and Selling Price List in Selling Settings",,88,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,"User exists with Email {}, Mobile {} Please check email / mobile or disable 'Invite as User' to skip creating User",,98,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,Years(s),,148,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,Month(s),,148,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,Day(s),,148,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,Customer {0} is created.,,242,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient.py,Patient not found,,269,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,This is based on transactions against this Patient. See timeline below for details,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,Appointments and Encounters,,16,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,Lab Tests and Vital Signs,,20,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,Rehab and Physiotherapy,,24,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,Surgery,,28,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,Admissions,,32,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient/patient_dashboard.py,Billing and Payments,,36,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/exercise_type/exercise_type.js,Add,,32,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/exercise_type/exercise_type.js,Add Exercise Step,,90,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/exercise_type/exercise_type.js,Add,,137,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/exercise_type/exercise_type.js,Edit Exercise Step,,144,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/exercise_type/exercise_type.js,Edit,,176,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,{0} with {1},,51,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,"Not allowed, {} cannot exceed maximum capacity {}",,102,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,"Not allowed, cannot overlap appointment {}",,108,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Patient {0} is not admitted in the service unit {1},,122,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Appointment for service units with Inpatient Occupancy can only be created against the unit where patient has been admitted.,,123,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Invalid Healthcare Service Unit,,124,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Please set a Customer linked to the Patient,,140,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Customer Not Found,,142,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,{0}: {1} has fee validity till {2},,158,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Sales Invoice {0} created,,227,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Consulting Charges: {0},,247,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Appointment {0} and Sales Invoice {1} cancelled,,263,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Appointment Cancelled. Please review and cancel the invoice {0},,265,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Appointment Cancelled.,,268,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Fee Validity {0} updated.,,270,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,{0} does not have a Healthcare Practitioner Schedule. Add it in Healthcare Practitioner master,,314,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Practitioner Schedule Not Found,,315,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Healthcare Practitioner not available on {0},,320,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Not Available,,320,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Not Available,,335,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,{0} is on a Half day Leave on {1},,343,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Not Available,,343,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,{0} is on Leave on {1},,345,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Not Available,,345,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Practitioner {0} does not have a Service Unit set against the Practitioner Schedule {1}.,,401,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Service Unit Not Found,,403,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Practitioner {0} does not have a Practitioner Schedule assigned.,,406,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Practitioner Schedule Not Found,,408,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Appointment Confirmation Message Not Sent,,430,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,Appointment Confirmation Message Not Sent,,431,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py,"SMS not sent, please check SMS Settings",,484,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Check Availability,,57,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Allowed,,60,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Please select Patient first,,61,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Allowed,,75,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Please select a Mode of Payment first,,76,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Allowed,,82,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Please set the Paid Amount first,,83,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Save,,95,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Patient History,,99,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,View,,102,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Cancel,,106,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Reschedule,,109,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Clinical Procedure,,114,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Create,,119,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Therapy Session,,121,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Patient Encounter,,128,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Create,,133,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Vital Signs,,136,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Create,,138,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Therapies Prescribed,,274,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,There are no Therapies prescribed for Patient {0},,275,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Available,,294,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Healthcare Practitioner {0} not available on {1},,295,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Available slots,,303,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Book,,314,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Fetching Schedule...,,414,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Appointment date and Healthcare Practitioner are Mandatory,,417,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Practitioner Schedule:,,429,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Service Unit:,,430,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Maximum Capacity:,,433,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Full,,481,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,slots available for booking,,483,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Each slot indicates the capacity currently available for booking,,498,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Found,,517,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,No Prescribed Procedures found for the selected Patient,,518,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Not Allowed,,525,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Please select a Patient first,,526,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Prescribed Procedures,,533,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,There are no procedure prescribed for ,,572,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Prescribed Therapies,,580,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Please select patient,,626,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Are you sure you want to cancel this appointment?,,638,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Years(s),,658,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Month(s),,658,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment.js,Day(s),,658,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/patient_appointment/patient_appointment_dashboard.py,Consultations,,14,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/appointment_type/appointment_type_dashboard.py,Patient Appointments,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Link Customer to Patient,,46,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,"If checked, a customer will be created for every Patient. Patient Invoices will be created against this Customer. You can also select existing Customer while creating a Patient. This field is checked by default.",,47,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Collect Registration Fee,,51,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,"If your Healthcare facility bills registrations of Patients, you can check this and set the Registration Fee in the field below. Checking this will create new Patients with a Disabled status by default and will only be enabled after invoicing the Registration Fee.",,52,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Automate Appointment Invoicing,,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Checking this will automatically create a Sales Invoice whenever an appointment is booked for a Patient.,,57,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Healthcare Service Items,,61,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,"You can create a service item for Inpatient Visit Charge and set it here. Similarly, you can set up other Healthcare Service Items for billing in this section. Click ",,62,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js, to know more,,62,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Set up default Accounts for the Healthcare Facility,,66,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,"If you wish to override default accounts settings and configure the Income and Receivable accounts for Healthcare, you can do so here.",,67,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,Out Patient SMS alerts,,72,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js,"If you want to send SMS alert on Patient Registration, you can enable this option. Similary, you can set up Out Patient SMS alerts for other functionalities in this section. Click ",,73,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.js, to know more,,73,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.py,Registration Fee cannot be negative or zero,,23,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_settings/healthcare_settings.py,Configure a service Item for {0},,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Get from Patient Encounter,,29,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Approve,,35,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Actions,,37,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Reject,,38,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Actions,,40,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Send SMS,,45,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,"Not permitted, configure Lab Test Template as required",,88,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,"Not permitted, configure Lab Test Template as required",,95,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Please select Patient to get Lab Tests,,129,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Lab Tests,,135,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,No Lab Tests found for the Patient {0},,175,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Send,,193,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,"Did not send SMS, missing patient mobile number or message content.",,238,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Years(s),,261,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Month(s),,261,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.js,Day(s),,261,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Row #{0}: Result for Secondary UOM not calculated,,55,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Warning,,55,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Row #{0}: Please enter the result value for {1},,61,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Mandatory Results,,62,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Row #{0}: Please enter the result value for {1},,67,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Mandatory Results,,68,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Sales Invoice or Patient Encounter is required to create Lab Tests,,97,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Insufficient Data,,97,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Lab Test(s) {0} created successfully,,106,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,No Lab Tests created,,108,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Test :,,234,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Collection Details:,,236,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Test :,,256,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Sample Collection {0} has been created,,267,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test.py,Sample Collection,,268,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Approved,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Rejected,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Completed,,13,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Cancelled,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Create Multiple,,19,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Create,,47,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,No Lab Tests created,,58,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/lab_test/lab_test_list.js,Creating Lab Tests...,,64,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type_dashboard.py,Healthcare Service Units,,11,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.js,Change Item Code,,8,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.js,Change Item Code,,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.js,Change Template Code,,79,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.py,Healthcare Service Unit Type cannot have both {0} and {1},,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.py,Validation Error,,19,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.py,Healthcare Service Unit Type must allow atleast one among {0} and {1},,23,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.py,Validation Error,,25,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.py,Not permitted. Please disable the Service Unit Type,,48,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.py,Item with Item Code {0} already exists,,133,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.py,No Inpatient Record found against patient {0},,31,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.py,An Inpatient Medication Order {0} against Patient Encounter {1} already exists.,,40,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order_list.js,Pending,,6,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order_list.js,In Process,,9,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order_list.js,Completed,,12,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Add Medication Orders,,24,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Add Medication Orders,,26,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Drug,,30,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Dosage,,42,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Period,,49,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Dosage Form,,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Add,,62,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Adding Order Entries,,73,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,{0} medication orders completed,,90,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,{0} medication order completed,,92,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js, out of {0},,94,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/inpatient_medication_order/inpatient_medication_order.js,Status,,105,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Therapy Type,,20,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Therapy Session,,31,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Select Therapy Type,,49,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Create,,49,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Create,,50,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Sales Invoice,,54,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Create,,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Fetching Template Details,,92,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,{0} sessions completed,,105,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,{0} session completed,,107,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js, out of {0},,109,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan.js,Status,,120,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan_dashboard.py,Therapy Sessions,,14,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/therapy_plan/therapy_plan_dashboard.py,Billing,,18,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Add Time Slots,,7,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Select Days,,10,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Sunday,,12,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Monday,,13,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Tuesday,,14,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Wednesday,,15,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Thursday,,16,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Friday,,17,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Saturday,,18,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,From,,20,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,To,,22,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Appointment Duration (mins),,24,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Add Timeslots,,27,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,"Time slot skiped, the slot {0} to {1} overlap exisiting slot {2} to {3}",,56,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,"Schedules for {0} overlaps, do you want to proceed after skiping overlaped slots ?",,85,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Slots for {0} are not added to the schedule,,93,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/practitioner_schedule/practitioner_schedule.js,Time slots added,,107,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/sample_collection/sample_collection.py,Sample Quantity cannot be negative or 0,,16,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/sample_collection/sample_collection.py,Invalid Quantity,,16,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/sample_collection/sample_collection.js,View Lab Tests,,7,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/sample_collection/sample_collection.js,Years(s),,39,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/sample_collection/sample_collection.js,Month(s),,39,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/doctype/sample_collection/sample_collection.js,Day(s),,39,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/public/js/sales_invoice.js,Get Items from Healthcare Services,,6,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/public/js/sales_invoice.js,Add,,106,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/public/js/sales_invoice.js,Please select Healthcare Service,,117,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/public/js/sales_invoice.js,Please select Drug,,120,Healthcare,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/public/js/sales_invoice.js,Get Items from Prescriptions,,166,Healthcare,,
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/page_result.csv b/translator/translator/doctype/extract_strings_job/fixtures/page_result.csv
new file mode 100644
index 0000000..184ed20
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/page_result.csv
@@ -0,0 +1,51 @@
+position,source_text,context,line_no,module,type,document_name
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Patient History,,5,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Select Patient,,34,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Patient History,,57,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Select Document Type,,78,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Date Range,,101,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,No more records..,,140,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,No more records..,,223,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Today,,235,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Yesterday,,237,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,on {0},,239,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Occupation,,268,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Blood Group,,269,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Allerigies,,270,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Medication,,271,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Alcohol use,,272,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Alcohol past use,,273,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Tobacco use,,274,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Tobacco past use,,275,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Medical history,,276,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Surgical history,,277,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Occupational hazards,,278,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Other risk factors,,279,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,More info,,280,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Blood Pressure,,374,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Respiratory/Pulse Rate,,377,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,Temperature,,380,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history.js,BMI,,383,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history_sidebar.html,Gender: ,,12,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_history/patient_history_sidebar.html,Contact: ,,15,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Patient Progress,,5,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Patient,,34,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Patient Progress,,57,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Therapy Type,,277,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Assessment Template,,338,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,{0} out of {1},,385,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Assessment Template,,405,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.js,Select Assessment Parameter,,466,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Gender: ,,12,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Contact: ,,15,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Total Therapy Sessions: ,,18,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Monthly Therapy Sessions: ,,21,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Patient Profile,,25,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Therapy Plan,,26,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress_sidebar.html,Patient History,,27,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Targetted,,99,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Completed,,100,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Score Obtained,,123,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Sessions,,150,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Average Score,,151,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/page/patient_progress/patient_progress.py,Score,,189,,,
diff --git a/translator/translator/doctype/extract_strings_job/fixtures/report_result.csv b/translator/translator/doctype/extract_strings_job/fixtures/report_result.csv
new file mode 100644
index 0000000..a1a53c3
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/fixtures/report_result.csv
@@ -0,0 +1,57 @@
+position,source_text,context,line_no,module,type,document_name
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,From Date,,8,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,To Date,,15,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Company,,22,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Lab Test Template,,29,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Patient,,35,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Medical Department,,41,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Status,,47,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.js,Invoiced,,53,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,No records found,,19,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Lab Test,,48,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Lab Test Template,,55,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Company,,62,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Patient,,69,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Patient Name,,76,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Lab Technician,,82,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Status,,89,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Invoiced,,95,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Result Date,,101,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Requesting Practitioner,,107,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/lab_test_report/lab_test_report.py,Medical Department,,114,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.py,Healthcare Practitioner,,70,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.py,Medical Department,,79,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.py,Total,,96,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Tree Type,,9,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Appointment Status,,17,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Scheduled,,20,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Open,,21,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Closed,,22,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Expired,,23,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Cancelled,,24,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Appointment Type,,29,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Healthcare Practitioner,,35,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Medical Department,,41,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,From Date,,47,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,To Date,,54,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Range,,61,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Weekly,,64,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Monthly,,65,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Quarterly,,66,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/patient_appointment_analytics/patient_appointment_analytics.js,Yearly,,67,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Medical Department,,9,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,From Date,,15,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,To Date,,22,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Range,,29,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Weekly,,32,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Monthly,,33,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Quarterly,,34,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.js,Yearly,,35,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.py,Diagnosis,,72,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/diagnosis_trends/diagnosis_trends.py,Total,,89,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Company,,9,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,From Date,,17,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,To Date,,24,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Patient,,31,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Healthcare Service Unit,,37,,,
+../apps/translator/translator/translator/doctype/extract_strings_job/fixtures/healthcare/healthcare/healthcare/report/inpatient_medication_orders/inpatient_medication_orders.js,Show Completed Orders,,52,,,
diff --git a/translator/translator/doctype/extract_strings_job/test_extract_strings_job.py b/translator/translator/doctype/extract_strings_job/test_extract_strings_job.py
new file mode 100644
index 0000000..d5403b8
--- /dev/null
+++ b/translator/translator/doctype/extract_strings_job/test_extract_strings_job.py
@@ -0,0 +1,349 @@
+# Copyright (c) 2021, Frappe Technologies and Contributors
+# See license.txt
+
+import frappe
+import os
+import csv
+import unittest
+from frappe.core.doctype.file.file import File
+from translator.translator.doctype.translator_app.get_strings.app_processor import AppProcessor
+from translator.translator.doctype.translator_app.get_strings.doctype_processor import DoctypeProcessor
+from translator.translator.doctype.translator_app.get_strings.module_processor import ModuleProcessor
+from translator.translator.doctype.translator_app.get_strings.report_processor import ReportProcessor
+from translator.translator.doctype.translator_app.get_strings.page_processor import PageProcessor
+from translator.translator.doctype.translator_app.get_strings.folder_processor import FolderProcessor
+from translator.translator.doctype.translator_app.get_strings.folder_processor import FileProcessor
+
+class TestExtractStringsJob(unittest.TestCase):
+ def test_app_processor(self):
+ self.maxDiff = None
+ messages = AppProcessor(get_app_path(), 'Healthcare').get_messages()
+
+ # for message_data in messages:
+ # if not message_data:
+ # continue
+ # message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+ # keys = ["position", "source_text", "context", "module", "type", "document_name" ]
+
+ # for key in keys:
+ # val = message_data.get(key)
+ # message_data[key] = str(val) if val else ''
+ # val = message_data.get('line_no')
+ # message_data['line_no'] = str(val) if val else '0'
+
+ process_extracted_messages(messages)
+
+ messages_target = read_csv(get_result_path('app_result.csv'))
+
+ process_stored_messages(messages_target)
+
+ # for message_data in messages_target:
+ # if message_data.get('source_text') == 'False':
+ # message_data['source_text'] = ''
+
+ self.assertCountEqual(messages, messages_target)
+
+ def test_module_processor(self):
+ self.maxDiff = None
+ messages = ModuleProcessor(get_module_path(), 'Healthcare').get_messages()
+ process_extracted_messages(messages)
+ messages_target = read_csv(get_result_path('module_result.csv'))
+ process_stored_messages(messages_target)
+ self.assertCountEqual(messages, messages_target)
+
+ def test_doctype_processor(self):
+ self.maxDiff = None
+ messages = DoctypeProcessor(get_doctype_path(), 'Patient Appointment').get_messages()
+ process_extracted_messages(messages)
+ messages_target = read_csv(get_result_path('doctype_result.csv'))
+ process_stored_messages(messages_target)
+ self.assertCountEqual(messages, messages_target)
+
+ def test_report_processor(self):
+ self.maxDiff = None
+ messages = ReportProcessor(get_report_path(), 'Patient Appointment Analytics').get_messages()
+ process_extracted_messages(messages)
+ messages_target = read_csv(get_result_path('report_result.csv'))
+ process_stored_messages(messages_target)
+ self.assertCountEqual(messages, messages_target)
+
+ def test_page_processor(self):
+ self.maxDiff = None
+ messages = PageProcessor(get_page_path(), 'Patient Progress').get_messages()
+ process_extracted_messages(messages)
+ messages_target = read_csv(get_result_path('page_result.csv'))
+ process_stored_messages(messages_target)
+ self.assertCountEqual(messages, messages_target)
+
+ def test_folder_processor(self):
+ self.maxDiff = None
+ messages = FolderProcessor(get_folder_path()).get_messages()
+ process_extracted_messages(messages)
+ messages_target = read_csv(get_result_path('folder_result.csv'))
+ process_stored_messages(messages_target)
+ self.assertCountEqual(messages, messages_target)
+
+ def test_file_processor(self):
+ self.maxDiff = None
+ messages = FileProcessor(get_file_path()).get_messages()
+ process_extracted_messages(messages)
+ messages_target = read_csv(get_result_path('file_result.csv'))
+ process_stored_messages(messages_target)
+ self.assertCountEqual(messages, messages_target)
+
+def process_extracted_messages(messages, file=False):
+ for message_data in messages:
+ if not message_data:
+ continue
+ message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+ keys = ["position", "source_text", "context", "module", "type", "document_name" ]
+
+ for key in keys:
+ val = message_data.get(key)
+ message_data[key] = str(val) if val else ''
+
+ val = message_data.get('line_no')
+ message_data['line_no'] = str(val) if val else '0'
+
+def process_stored_messages(messages):
+ for message_data in messages:
+ if message_data.get('source_text') == 'False':
+ message_data['source_text'] = ''
+
+def get_result_path(name):
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', name)
+
+
+def get_app_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare')
+
+def get_module_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare', 'healthcare')
+
+def get_doctype_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare', 'healthcare', 'healthcare', 'doctype')
+
+def get_report_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare', 'healthcare', 'healthcare', 'report')
+
+def get_page_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare', 'healthcare', 'healthcare', 'page')
+
+def get_folder_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare', 'healthcare', 'healthcare', 'web_form')
+
+def get_file_path():
+ return frappe.get_app_path('translator', 'translator', 'doctype',
+ 'extract_strings_job', 'fixtures', 'healthcare', 'healthcare', 'healthcare', 'setup.py')
+
+
+# out_file = open(get_result_path(), "w")
+
+
+def read_csv(filename):
+ with open(filename) as f:
+ file_data=csv.reader(f)
+ headers=next(file_data)
+ return [dict(zip(headers,i)) for i in file_data]
+
+
+
+# Use the following code to generate fixtures for app
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.app_processor import AppProcessor
+# a_file = open(get_result_path('app_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = AppProcessor(get_app_path(), 'Healthcare').get_messages()
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
+
+
+# Use the following code to generate fixtures for module
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.module_processor import ModuleProcessor
+# a_file = open(get_result_path('module_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = ModuleProcessor(get_module_path(), 'Healthcare').get_messages()
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
+
+
+# Use the following code to generate fixtures for doctype
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.doctype_processor import DoctypeProcessor
+# a_file = open(get_result_path('doctype_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = DoctypeProcessor(get_doctype_path(), 'Patient Appointment').get_messages()
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
+
+
+# Use the following code to generate fixtures for report
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.report_processor import ReportProcessor
+# a_file = open(get_result_path('report_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = ReportProcessor(get_report_path(), 'Patient Appointment Analytics').get_messages()
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
+
+
+
+# Use the following code to generate fixtures for page
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.page_processor import PageProcessor
+# a_file = open(get_result_path('page_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = PageProcessor(get_page_path(), 'Patient Progress').get_messages()
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
+
+
+# Use the following code to generate fixtures for folder
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.folder_processor import FolderProcessor
+# a_file = open(get_result_path('folder_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = FolderProcessor(get_folder_path()).get_messages()
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
+
+
+
+# Use the following code to generate fixtures for file
+
+# import csv
+# from translator.translator.doctype.translator_app.get_strings.file_processor import FileProcessor
+# a_file = open(get_result_path('file_result.csv'), "w")
+
+# keys = ["position",
+# "source_text",
+# "context",
+# "line_no",
+# "module",
+# "type",
+# "document_name"
+# ]
+
+# dict_writer = csv.DictWriter(a_file, keys)
+# dict_writer.writeheader()
+# messages = FileProcessor(get_file_path()).get_messages()
+# process_extracted_messages(messages)
+# for message_data in messages:
+# if not message_data:
+# continue
+# message_data["position"]=os.path.relpath(message_data.get("position"), os.getcwd())
+
+# dict_writer.writerows(messages)
+# a_file.close()
\ No newline at end of file
diff --git a/translator/translator/doctype/source_message/source_message.json b/translator/translator/doctype/source_message/source_message.json
index 830ba3f..567b6b6 100644
--- a/translator/translator/doctype/source_message/source_message.json
+++ b/translator/translator/doctype/source_message/source_message.json
@@ -1,5 +1,6 @@
{
"actions": [],
+ "allow_import": 1,
"creation": "2015-02-20 18:51:19.081495",
"doctype": "DocType",
"document_type": "Setup",
@@ -30,7 +31,6 @@
{
"fieldname": "context",
"fieldtype": "Data",
- "in_list_view": 1,
"label": "Context"
},
{
@@ -45,7 +45,7 @@
}
],
"links": [],
- "modified": "2020-03-11 14:13:06.729978",
+ "modified": "2022-01-10 19:16:16.705851",
"modified_by": "Administrator",
"module": "Translator",
"name": "Source Message",
@@ -60,8 +60,10 @@
"write": 1
}
],
+ "show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
+ "states": [],
"title_field": "message",
"track_changes": 1
}
\ No newline at end of file
diff --git a/translator/translator/doctype/source_message/source_message.py b/translator/translator/doctype/source_message/source_message.py
index 7814761..1009405 100644
--- a/translator/translator/doctype/source_message/source_message.py
+++ b/translator/translator/doctype/source_message/source_message.py
@@ -3,6 +3,7 @@
from __future__ import unicode_literals
import frappe
+import requests
from frappe.model.document import Document
from translator.data import get_translation_from_google
diff --git a/translator/translator/doctype/source_message_position/source_message_position.json b/translator/translator/doctype/source_message_position/source_message_position.json
index a59e4a5..f830aa3 100644
--- a/translator/translator/doctype/source_message_position/source_message_position.json
+++ b/translator/translator/doctype/source_message_position/source_message_position.json
@@ -8,12 +8,15 @@
"position",
"line_no",
"app",
- "app_version"
+ "app_version",
+ "module",
+ "type",
+ "document_name"
],
"fields": [
{
"fieldname": "position",
- "fieldtype": "Data",
+ "fieldtype": "Text",
"in_list_view": 1,
"label": "Position"
},
@@ -34,11 +37,27 @@
"fieldtype": "Data",
"in_list_view": 1,
"label": "App Version"
+ },
+ {
+ "fieldname": "module",
+ "fieldtype": "Data",
+ "label": "Module"
+ },
+ {
+ "fieldname": "type",
+ "fieldtype": "Select",
+ "label": "Type",
+ "options": "\nDocument Type\nPage\nReport"
+ },
+ {
+ "fieldname": "document_name",
+ "fieldtype": "Data",
+ "label": "Document Name"
}
],
"istable": 1,
"links": [],
- "modified": "2020-03-10 12:39:54.572794",
+ "modified": "2021-11-29 11:21:40.089874",
"modified_by": "Administrator",
"module": "Translator",
"name": "Source Message Position",
diff --git a/translator/translator/doctype/translated_message/translated_message.json b/translator/translator/doctype/translated_message/translated_message.json
index 36cf1a7..33af944 100644
--- a/translator/translator/doctype/translated_message/translated_message.json
+++ b/translator/translator/doctype/translated_message/translated_message.json
@@ -1,5 +1,6 @@
{
"actions": [],
+ "allow_import": 1,
"autoname": "hash",
"creation": "2014-08-22 16:14:17.178029",
"doctype": "DocType",
@@ -94,10 +95,11 @@
],
"icon": "icon-comment",
"links": [],
- "modified": "2020-03-11 22:51:45.236729",
+ "modified": "2022-01-11 19:09:15.021447",
"modified_by": "Administrator",
"module": "Translator",
"name": "Translated Message",
+ "naming_rule": "Random",
"owner": "Administrator",
"permissions": [
{
@@ -109,5 +111,6 @@
],
"sort_field": "modified",
"sort_order": "DESC",
+ "states": [],
"title_field": "translated"
}
\ No newline at end of file
diff --git a/translator/translator/doctype/translation_settings/__init__.py b/translator/translator/doctype/translation_settings/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/translator/translator/doctype/translation_settings/test_translation_settings.py b/translator/translator/doctype/translation_settings/test_translation_settings.py
new file mode 100644
index 0000000..43a18af
--- /dev/null
+++ b/translator/translator/doctype/translation_settings/test_translation_settings.py
@@ -0,0 +1,9 @@
+# Copyright (c) 2021, Frappe Technologies and Contributors
+# See license.txt
+
+# import frappe
+import unittest
+
+
+class TestTranslationSettings(unittest.TestCase):
+ pass
diff --git a/translator/translator/doctype/translation_settings/translation_settings.js b/translator/translator/doctype/translation_settings/translation_settings.js
new file mode 100644
index 0000000..8fc8d7a
--- /dev/null
+++ b/translator/translator/doctype/translation_settings/translation_settings.js
@@ -0,0 +1,8 @@
+// Copyright (c) 2021, Frappe Technologies and contributors
+// For license information, please see license.txt
+
+frappe.ui.form.on('Translation Settings', {
+ // refresh: function(frm) {
+
+ // }
+});
diff --git a/translator/translator/doctype/translation_settings/translation_settings.json b/translator/translator/doctype/translation_settings/translation_settings.json
new file mode 100644
index 0000000..15b066c
--- /dev/null
+++ b/translator/translator/doctype/translation_settings/translation_settings.json
@@ -0,0 +1,54 @@
+{
+ "actions": [],
+ "allow_rename": 1,
+ "creation": "2021-10-18 12:22:41.747338",
+ "doctype": "DocType",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "field_order": [
+ "clone_directory",
+ "translation_dumps"
+ ],
+ "fields": [
+ {
+ "default": "cloned_apps",
+ "description": "The folder will be created inside the site's directory.",
+ "fieldname": "clone_directory",
+ "fieldtype": "Data",
+ "in_list_view": 1,
+ "label": "Clone Directory",
+ "reqd": 1
+ },
+ {
+ "default": "translations",
+ "fieldname": "translation_dumps",
+ "fieldtype": "Data",
+ "label": "Translation Dumps",
+ "reqd": 1
+ }
+ ],
+ "index_web_pages_for_search": 1,
+ "issingle": 1,
+ "links": [],
+ "modified": "2022-01-11 18:35:03.057147",
+ "modified_by": "Administrator",
+ "module": "Translator",
+ "name": "Translation Settings",
+ "owner": "Administrator",
+ "permissions": [
+ {
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "print": 1,
+ "read": 1,
+ "role": "System Manager",
+ "share": 1,
+ "write": 1
+ }
+ ],
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "states": [],
+ "track_changes": 1
+}
\ No newline at end of file
diff --git a/translator/translator/doctype/translation_settings/translation_settings.py b/translator/translator/doctype/translation_settings/translation_settings.py
new file mode 100644
index 0000000..dd68194
--- /dev/null
+++ b/translator/translator/doctype/translation_settings/translation_settings.py
@@ -0,0 +1,9 @@
+# Copyright (c) 2021, Frappe Technologies and contributors
+# For license information, please see license.txt
+
+# import frappe
+from frappe.model.document import Document
+
+
+class TranslationSettings(Document):
+ pass
diff --git a/translator/translator/doctype/translations_release_job/__init__.py b/translator/translator/doctype/translations_release_job/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/translator/translator/doctype/translations_release_job/test_translations_release_job.py b/translator/translator/doctype/translations_release_job/test_translations_release_job.py
new file mode 100644
index 0000000..f559063
--- /dev/null
+++ b/translator/translator/doctype/translations_release_job/test_translations_release_job.py
@@ -0,0 +1,9 @@
+# Copyright (c) 2021, Frappe Technologies and Contributors
+# See license.txt
+
+# import frappe
+import unittest
+
+
+class TestTranslationsReleaseJob(unittest.TestCase):
+ pass
diff --git a/translator/translator/doctype/translations_release_job/translations_release_job.js b/translator/translator/doctype/translations_release_job/translations_release_job.js
new file mode 100644
index 0000000..a1ed2a6
--- /dev/null
+++ b/translator/translator/doctype/translations_release_job/translations_release_job.js
@@ -0,0 +1,8 @@
+// Copyright (c) 2021, Frappe Technologies and contributors
+// For license information, please see license.txt
+
+frappe.ui.form.on('Translations Release Job', {
+ // refresh: function(frm) {
+
+ // }
+});
diff --git a/translator/translator/doctype/translations_release_job/translations_release_job.json b/translator/translator/doctype/translations_release_job/translations_release_job.json
new file mode 100644
index 0000000..333c258
--- /dev/null
+++ b/translator/translator/doctype/translations_release_job/translations_release_job.json
@@ -0,0 +1,95 @@
+{
+ "actions": [],
+ "allow_rename": 1,
+ "autoname": "hash",
+ "creation": "2021-11-24 13:20:34.801751",
+ "doctype": "DocType",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "field_order": [
+ "status",
+ "translator_app_release",
+ "translator_app",
+ "translator_app_source",
+ "repository_owner",
+ "failure_log"
+ ],
+ "fields": [
+ {
+ "allow_on_submit": 1,
+ "default": "Queued",
+ "fieldname": "status",
+ "fieldtype": "Select",
+ "hidden": 1,
+ "in_list_view": 1,
+ "in_standard_filter": 1,
+ "label": "Status",
+ "options": "Queued\nPreparing\nWriting Files\nReleasing\nCompleted\nFailed",
+ "read_only": 1
+ },
+ {
+ "fetch_from": "translator_app_release.translator_app",
+ "fieldname": "translator_app",
+ "fieldtype": "Link",
+ "in_list_view": 1,
+ "in_standard_filter": 1,
+ "label": "Translator App",
+ "options": "Translator App"
+ },
+ {
+ "fetch_from": "translator_app_release.translator_app_source",
+ "fieldname": "translator_app_source",
+ "fieldtype": "Data",
+ "in_list_view": 1,
+ "in_standard_filter": 1,
+ "label": "Translator App Source",
+ "read_only": 1
+ },
+ {
+ "fetch_from": "translator_app.repository_owner",
+ "fieldname": "repository_owner",
+ "fieldtype": "Data",
+ "label": "Repository Owner"
+ },
+ {
+ "allow_on_submit": 1,
+ "default": "No Logs Found. Please check Background Jobs Log.",
+ "depends_on": "eval: doc.status == 'Failed'",
+ "fieldname": "failure_log",
+ "fieldtype": "Code",
+ "label": "Failure Log",
+ "no_copy": 1,
+ "read_only": 1
+ },
+ {
+ "fieldname": "translator_app_release",
+ "fieldtype": "Link",
+ "label": "Translator App Release",
+ "options": "Translator App Release"
+ }
+ ],
+ "index_web_pages_for_search": 1,
+ "links": [],
+ "modified": "2021-11-24 14:30:06.092712",
+ "modified_by": "Administrator",
+ "module": "Translator",
+ "name": "Translations Release Job",
+ "naming_rule": "Random",
+ "owner": "Administrator",
+ "permissions": [
+ {
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "System Manager",
+ "share": 1,
+ "write": 1
+ }
+ ],
+ "sort_field": "modified",
+ "sort_order": "DESC"
+}
\ No newline at end of file
diff --git a/translator/translator/doctype/translations_release_job/translations_release_job.py b/translator/translator/doctype/translations_release_job/translations_release_job.py
new file mode 100644
index 0000000..4455dd2
--- /dev/null
+++ b/translator/translator/doctype/translations_release_job/translations_release_job.py
@@ -0,0 +1,127 @@
+# Copyright (c) 2021, Frappe Technologies and contributors
+# For license information, please see license.txt
+
+import os
+import tarfile
+from io import BytesIO as BIO
+
+import frappe
+from frappe.model.document import Document
+from frappe.utils import get_site_path, random_string
+
+from translator.data import write_csv_for_all_languages
+
+
+class TranslationsReleaseJob(Document):
+ def validate(self):
+ frappe.enqueue(
+ self.create_release_wrapper,
+ enqueue_after_commit=True,
+ queue="long",
+ job_name=(
+ "Release translations for"
+ f" {self.repository_owner}/{self.translator_app}@{self.translator_app_source}"
+ ),
+ )
+
+
+ def get_endpoint(self):
+ return f"https://api.github.com/repos/{self.repository_owner}/{self.translator_app}/tarball/{self.translator_app_source}"
+
+ def create_release_wrapper(self):
+ try:
+ self.create_release()
+ except Exception:
+ self.create_log()
+
+ def set_status(self, status):
+ frappe.db.set_value("Translations Release Job", self.name, "status", status)
+ frappe.db.commit()
+
+ def create_log(self, message=None):
+ self.set_status("Failed")
+ log = (
+ message + str(frappe.get_traceback()) if message else str(frappe.get_traceback())
+ )
+ frappe.db.set_value("Translations Release Job", self.name, "failure_log", log)
+
+ def create_release(self):
+ self.set_status("Preparing")
+ self._prepare_clone_directory(self.translator_app_source)
+ self.set_status("Writing Files")
+ write_csv_for_all_languages(self.translator_app, self.clone_directory)
+ self.create_tar()
+ self.set_status("Releasing")
+ self.create_file_doc()
+ self.set_status("Completed")
+
+ def get_context(self, context):
+
+ link = frappe.get_all(
+ "File",
+ fields=["file_url"],
+ filters={"attached_to_name": self.name, "attached_to_doctype": self.doctype},
+ pluck="file_url",
+ order_by="modified desc",
+ limit=1,
+ )
+
+ redirect_url = link[0]
+ frappe.local.response["type"] = "redirect"
+ frappe.local.response["location"] = redirect_url
+ raise frappe.Redirect
+
+ def create_tar(self):
+
+ file_out = BIO()
+ tar = tarfile.open(mode="w:gz", fileobj=file_out)
+ tar.add(self.clone_directory, arcname="")
+ # for p in path:
+ # tar.add(p)
+ tar.close()
+ self.tar = file_out.getvalue()
+
+ def create_file_doc(self):
+ ret = frappe.get_doc(
+ {
+ "doctype": "File",
+ "attached_to_doctype": "Translator App Release",
+ "attached_to_name": self.translator_app_release,
+ # "attached_to_field": fieldname,
+ # "folder": folder,
+ "file_name": self.random + ".tar.gz",
+ "file_url": self.random + ".tar.gz",
+ "is_private": 0,
+ "content": self.tar,
+ }
+ )
+ ret.save(ignore_permissions=True)
+ frappe.db.sql(
+ """Update `tabFile`
+ set attached_to_name = '' where attached_to_doctype = 'Translator App Release' and attached_to_name = %s and name != %s""",
+ [self.translator_app_release, ret.name],
+ )
+
+ def _prepare_clone_directory(self, source):
+ clone_directory = get_site_path(
+ frappe.db.get_single_value("Translation Settings", "translation_dumps")
+ )
+ if not os.path.exists(clone_directory):
+ os.mkdir(clone_directory)
+
+ app_directory = os.path.join(clone_directory, self.translator_app)
+ if not os.path.exists(app_directory):
+ os.mkdir(app_directory)
+
+ source_directory = os.path.join(app_directory, source)
+ if not os.path.exists(source_directory):
+ os.mkdir(source_directory)
+ self.random = random_string(7)
+ self.clone_directory = os.path.join(
+ clone_directory, self.translator_app, source, self.random
+ )
+ print(os.path.exists(self.clone_directory))
+ print(self.clone_directory)
+ if not os.path.exists(self.clone_directory):
+ print(os.mkdir(self.clone_directory))
+ print(os.path.exists(self.clone_directory))
diff --git a/translator/translator/doctype/translator_app/get_strings/app_processor.py b/translator/translator/doctype/translator_app/get_strings/app_processor.py
new file mode 100644
index 0000000..4c77c27
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/app_processor.py
@@ -0,0 +1,53 @@
+import os
+
+import frappe
+from frappe.utils import get_bench_path
+
+from .file_processor import FileProcessor
+from .folder_processor import FolderProcessor
+from .module_processor import ModuleProcessor
+
+MODULES_FILE = "modules.txt"
+
+IGNORED_ITEMS = [
+ "change_log",
+ "demopatches",
+ "translations",
+ "modules.txt",
+ "patches.txt",
+]
+
+
+class AppProcessor:
+ def __init__(self, path, app_name):
+ self.path = os.path.join(path, app_name)
+ self.app_name = app_name
+
+ def get_messages(self):
+ messages = []
+
+ modules = frappe.get_file_items(os.path.join(self.path, MODULES_FILE))
+
+ [
+ messages.append(
+ {
+ "position": os.path.join(self.path, MODULES_FILE),
+ "source_text": module,
+ "context": "Module Name",
+ "line_no": 0,
+ }
+ )
+ for module in modules
+ ]
+
+ modules = [frappe.scrub(module) for module in modules]
+ for item in os.listdir(self.path):
+ if item in IGNORED_ITEMS:
+ continue
+ elif item in modules:
+ messages.extend(ModuleProcessor(os.path.join(self.path, item), item).get_messages())
+ elif os.path.isdir(os.path.join(self.path, item)):
+ messages.extend(FolderProcessor(os.path.join(self.path, item)).get_messages())
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item)).get_messages())
+ return messages
diff --git a/translator/translator/doctype/translator_app/get_strings/doctype_processor.py b/translator/translator/doctype/translator_app/get_strings/doctype_processor.py
new file mode 100644
index 0000000..0c06918
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/doctype_processor.py
@@ -0,0 +1,79 @@
+import json
+import os
+
+import frappe
+from frappe.modules.import_file import read_doc_from_file
+from frappe.translate import is_translatable
+from frappe.utils import get_bench_path
+
+from .file_processor import FileProcessor
+from .folder_processor import FolderProcessor
+
+
+class DoctypeProcessor:
+ def __init__(self, path, doctype_name):
+ self.path = path
+ self.doctype_name = doctype_name
+
+ def get_messages(self):
+ messages = []
+
+ try:
+ doctype_json = read_doc_from_file(
+ os.path.join(self.path, self.doctype_name + ".json")
+ )
+ except IOError:
+ messages.extend(FolderProcessor(os.path.join(self.path)).get_messages())
+ return messages
+
+ messages.extend(
+ [
+ doctype_json.get("label"),
+ doctype_json.get("description"),
+ doctype_json.get("name"),
+ ]
+ )
+
+ for field in doctype_json.get("fields"):
+ messages.extend([field.get("label"), field.get("description")])
+
+ if field.get("fieldtype") == "Select" and field.get("options"):
+ options = field.get("options").split("\n")
+ if not "icon" in options[0]:
+ messages.extend(options)
+ if field.get("fieldtype") == "HTML" and field.get("options"):
+ messages.append(field.get("options"))
+
+ for d in doctype_json.get("permissions"):
+ if d.get("role"):
+ messages.append(d.get("role"))
+
+ messages = [message for message in messages if message]
+ messages = [
+ ("DocType: " + self.doctype_name, message)
+ for message in messages
+ if is_translatable(message)
+ ]
+
+ messages = [
+ {
+ "position": os.path.join(self.path, self.doctype_name + ".json"),
+ "source_text": message[1],
+ "context": message[2] or "" if len(message) > 2 else "",
+ "line_no": message[3] or 0 if len(message) == 4 else 0,
+ }
+ for message in messages
+ ]
+
+ for item in os.listdir(self.path):
+ if os.path.isdir(os.path.join(self.path, item)):
+ messages.extend(FolderProcessor(os.path.join(self.path, item)).get_messages())
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item)).get_messages())
+
+ for message in messages:
+ message["type"] = "Document Type"
+ message["document_name"] = frappe.unscrub(self.doctype_name)
+
+ return messages
+ # add workflow for doctype
diff --git a/translator/translator/doctype/translator_app/get_strings/file_processor.py b/translator/translator/doctype/translator_app/get_strings/file_processor.py
new file mode 100644
index 0000000..638cdb8
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/file_processor.py
@@ -0,0 +1,208 @@
+import ast
+import json
+import os
+import re
+from typing import List, Tuple
+
+import frappe
+from frappe.exceptions import ValidationError
+from frappe.model.utils import InvalidIncludePath, render_include
+from frappe.modules.import_file import read_doc_from_file
+from frappe.utils import get_bench_path
+
+
+class AstParser(ast.NodeVisitor):
+ def __init__(self, path):
+ self.path = path
+ self.messages = []
+ self.targets = (
+ "label",
+ "role",
+ "options",
+ "workflow_state_name",
+ "workflow_action_name",
+ "item_label",
+ "item_type",
+ "description",
+ )
+ super().__init__()
+
+ def visit_Dict(self, node):
+ for key, value in zip(node.keys, node.values):
+ if isinstance(key, ast.Constant) and isinstance(value, ast.Constant):
+ if key.value in self.targets:
+ self.messages.append(value.value)
+ super().generic_visit(node)
+
+ def visit_keyword(self, node):
+ import ast
+
+ if node.arg in self.targets:
+ if isinstance(node.value, ast.Constant):
+ self.messages.append(node.value.value)
+ super().generic_visit(node)
+
+
+class FileProcessor:
+ def __init__(self, path) -> None:
+ self.path = path
+
+ def get_messages(self):
+ if (
+ self.path.endswith(".js")
+ or self.path.endswith(".html")
+ or self.path.endswith(".vue")
+ or self.path.endswith(".py")
+ ):
+ return self.get_messages_from_file()
+ # elif (self.path.endswith(".json")):
+ # return self.get_messages_from_json()
+ else:
+ return []
+
+ def get_messages_from_doc(self, doc):
+ messages = []
+ messages.extend([doc.get("label"), doc.get("description"), doc.get("name")])
+
+ if doc.get("fields"):
+ for field in doc.get("fields"):
+ messages.extend([field.get("label"), field.get("description")])
+
+ if field.get("fieldtype") == "Select" and field.get("options"):
+ options = field.get("options").split("\n")
+ if not "icon" in options[0]:
+ messages.extend(options)
+ if field.get("fieldtype") == "HTML" and field.get("options"):
+ messages.append(field.get("options"))
+ if doc.get("permissions"):
+ for d in doc.get("permissions"):
+ if d.get("role"):
+ messages.append(d.get("role"))
+
+ messages = [message for message in messages if message]
+ messages = [
+ (self.path, message) for message in messages if self.is_translatable(message)
+ ]
+
+ messages = [
+ {
+ "position": os.path.join(self.path),
+ "source_text": message[1],
+ "context": message[2] or "" if len(message) > 2 else "",
+ "line_no": message[3] or 0 if len(message) == 4 else 0,
+ }
+ for message in messages
+ ]
+ return messages
+
+ def get_messages_from_json(self):
+ messages = []
+ try:
+ json_doc = read_doc_from_file(self.path)
+ except IOError:
+ return messages
+
+ if type(json_doc) == type([]):
+ [messages.extend(self.get_messages_from_doc(json.loads(doc))) for doc in json_doc]
+ else:
+ messages.extend(self.get_messages_from_doc(json_doc))
+
+ return messages
+
+ def get_messages_from_file(self) -> List[Tuple[str, str, str, str]]:
+ """Returns a list of transatable strings from a code file
+
+ :param path: path of the code file
+ """
+
+ if os.path.exists(self.path):
+ with open(self.path, "r") as sourcefile:
+ try:
+ file_contents = sourcefile.read()
+ except Exception:
+ print("Could not scan file for translation: {0}".format(self.path))
+ return []
+
+ return [
+ {
+ "position": self.path,
+ "source_text": message,
+ "context": context,
+ "line_no": line,
+ }
+ for (line, message, context) in self.extract_messages_from_code(file_contents)
+ ]
+ else:
+ return []
+
+ def extract_messages_from_code(self, code):
+ """
+ Extracts translatable strings from a code file
+ :param code: code from which translatable files are to be extracted
+ :param is_py: include messages in triple quotes e.g. `_('''message''')`
+ """
+ from jinja2 import TemplateError
+
+ try:
+ code = frappe.as_unicode(render_include(code))
+
+ # Exception will occur when it encounters John Resig's microtemplating code
+ except (TemplateError, ImportError, InvalidIncludePath, IOError) as e:
+ if isinstance(e, InvalidIncludePath):
+ frappe.clear_last_message()
+
+ pass
+
+ messages = []
+ pattern = r"_\(([\"']{,3})(?P((?!\1).)*)\1(\s*,\s*context\s*=\s*([\"'])(?P((?!\5).)*)\5)*(\s*,\s*(.)*?\s*(,\s*([\"'])(?P((?!\11).)*)\11)*)*\)"
+
+ for m in re.compile(pattern).finditer(code):
+ message = m.group("message")
+ context = m.group("py_context") or m.group("js_context")
+ pos = m.start()
+
+ if self.is_translatable(message):
+ messages.append([pos, message, context])
+
+ # india_setup = ast.parse(''.join(lines))
+
+ messages = self.add_line_number(messages, code)
+ if self.is_ast_parse_needed():
+ ast_parser = AstParser(self.path)
+ ast_parser.visit(ast.parse(code))
+ messages.extend([[0, message, None] for message in ast_parser.messages])
+ return messages
+
+ def is_ast_parse_needed(self):
+ file_names = [
+ 'setup.py',
+ 'install.py',]
+ if not self.path.endswith(".py"):
+ return False
+ print(self.path)
+ print(self.path.split('/')[-1])
+ if self.path.split('/')[-1] in file_names:
+ return True
+
+ def is_translatable(self, m):
+ if (
+ re.search("[a-zA-Z]", m)
+ and not m.startswith("fa fa-")
+ and not m.endswith("px")
+ and not m.startswith("eval:")
+ ):
+ return True
+ return False
+
+ def add_line_number(self, messages, code):
+ ret = []
+ messages = sorted(messages, key=lambda x: x[0])
+ newlines = [m.start() for m in re.compile(r"\n").finditer(code)]
+ line = 1
+ newline_i = 0
+ for pos, message, context in messages:
+ while newline_i < len(newlines) and pos > newlines[newline_i]:
+ line += 1
+ newline_i += 1
+ ret.append([line, message, context])
+ return ret
diff --git a/translator/translator/doctype/translator_app/get_strings/folder_processor.py b/translator/translator/doctype/translator_app/get_strings/folder_processor.py
new file mode 100644
index 0000000..445cc87
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/folder_processor.py
@@ -0,0 +1,17 @@
+import os
+
+from .file_processor import FileProcessor
+
+
+class FolderProcessor:
+ def __init__(self, path) -> None:
+ self.path = path
+
+ def get_messages(self):
+ messages = []
+ for item in os.listdir(self.path):
+ if os.path.isdir(os.path.join(self.path, item)):
+ messages.extend(FolderProcessor(os.path.join(self.path, item)).get_messages())
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item)).get_messages())
+ return messages
diff --git a/translator/translator/doctype/translator_app/get_strings/module_processor.py b/translator/translator/doctype/translator_app/get_strings/module_processor.py
new file mode 100644
index 0000000..b5135cb
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/module_processor.py
@@ -0,0 +1,65 @@
+import os
+import re
+
+import frappe
+from genericpath import isdir
+
+from .doctype_processor import DoctypeProcessor
+from .file_processor import FileProcessor
+from .folder_processor import FolderProcessor
+from .page_processor import PageProcessor
+from .report_processor import ReportProcessor
+
+
+class ModuleProcessor:
+ def __init__(self, path, module_name):
+ self.path = path
+ self.module_name = module_name
+
+ def get_messages(self):
+
+ messages = []
+ for item in os.listdir(self.path):
+ if item == "doctype":
+ for doctype in os.listdir(os.path.join(self.path, item)):
+ if doctype in ("__pycache__"):
+ continue
+ if isdir(os.path.join(self.path, item, doctype)):
+ messages.extend(
+ DoctypeProcessor(os.path.join(self.path, item, doctype), doctype).get_messages()
+ )
+ else:
+ messages.extend(
+ FileProcessor(os.path.join(self.path, item, doctype)).get_messages()
+ )
+ elif item == "report":
+ for report in os.listdir(os.path.join(self.path, item)):
+ if report in ("__pycache__"):
+ continue
+ if isdir(os.path.join(self.path, item, report)) and report not in ("__pycache__"):
+ messages.extend(
+ ReportProcessor(os.path.join(self.path, item, report), report).get_messages()
+ )
+ else:
+ messages.extend(
+ FileProcessor(os.path.join(self.path, item, report)).get_messages()
+ )
+ elif item == "page":
+ for page in os.listdir(os.path.join(self.path, item)):
+ if page in ("__pycache__"):
+ continue
+ if isdir(os.path.join(self.path, item, page)):
+ messages.extend(
+ PageProcessor(os.path.join(self.path, item, page), page).get_messages()
+ )
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item, page)).get_messages())
+ elif os.path.isdir(os.path.join(self.path, item)):
+ messages.extend(FolderProcessor(os.path.join(self.path, item)).get_messages())
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item)).get_messages())
+
+ for message in messages:
+ message["module"] = frappe.unscrub(self.module_name)
+
+ return messages
diff --git a/translator/translator/doctype/translator_app/get_strings/page_processor.py b/translator/translator/doctype/translator_app/get_strings/page_processor.py
new file mode 100644
index 0000000..d3ee5bf
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/page_processor.py
@@ -0,0 +1,62 @@
+import json
+import os
+
+import frappe
+from frappe.modules.import_file import read_doc_from_file
+from frappe.translate import is_translatable
+from frappe.utils import get_bench_path
+
+from .file_processor import FileProcessor
+from .folder_processor import FolderProcessor
+
+
+class PageProcessor:
+ def __init__(self, path, page_name):
+ self.path = path
+ self.page_name = page_name
+
+ def get_messages(self):
+ messages = []
+
+ try:
+ page_json = read_doc_from_file(os.path.join(self.path, self.page_name + ".json"))
+ except IOError:
+ messages.extend(FolderProcessor(os.path.join(self.path)).get_messages())
+ return messages
+
+ messages.extend(
+ [page_json.get("title"), page_json.get("page_name"), page_json.get("name")]
+ )
+
+ for d in page_json.get("roles"):
+ if d.get("role"):
+ messages.append(d.get("role"))
+
+ messages = [message for message in messages if message]
+ messages = [
+ (os.path.join(self.path, self.page_name + ".json"), message)
+ for message in messages
+ if is_translatable(message)
+ ]
+
+ messages = [
+ {
+ "position": os.path.join(self.path, self.page_name + ".json"),
+ "source_text": message[1],
+ "context": message[2] or "" if len(message) > 2 else "",
+ "line_no": message[3] or 0 if len(message) == 4 else 0,
+ }
+ for message in messages
+ ]
+
+ for item in os.listdir(self.path):
+ if os.path.isdir(os.path.join(self.path, item)):
+ messages.extend(FolderProcessor(os.path.join(self.path, item)).get_messages())
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item)).get_messages())
+
+ for message in messages:
+ message["type"] = "Page"
+ message["document_name"] = frappe.unscrub(self.page_name)
+
+ return messages
diff --git a/translator/translator/doctype/translator_app/get_strings/report_processor.py b/translator/translator/doctype/translator_app/get_strings/report_processor.py
new file mode 100644
index 0000000..dd4c679
--- /dev/null
+++ b/translator/translator/doctype/translator_app/get_strings/report_processor.py
@@ -0,0 +1,89 @@
+import json
+import os
+import re
+
+import frappe
+from frappe.modules.import_file import read_doc_from_file
+from frappe.translate import is_translatable
+from frappe.utils import get_bench_path
+
+from .file_processor import FileProcessor
+from .folder_processor import FolderProcessor
+
+
+class ReportProcessor:
+ def __init__(self, path, report_name):
+ self.path = path
+ self.report_name = report_name
+
+ def get_messages(self):
+ messages = []
+
+ try:
+ report_json = read_doc_from_file(os.path.join(self.path, self.report_name + ".json"))
+ except IOError:
+ messages.extend(FolderProcessor(os.path.join(self.path)).get_messages())
+ return messages
+
+ if report_json.get("roles"):
+ for d in report_json.get("roles"):
+ if d.get("role"):
+ messages.append(d.get("role"))
+
+ messages.extend([report_json.get("report_name"), report_json.get("name")])
+ messages = [message for message in messages if message]
+ messages = [
+ ("Report: " + self.report_name, message)
+ for message in messages
+ if is_translatable(message)
+ ]
+
+ if report_json.get("query"):
+ messages.extend(
+ [
+ (None, message)
+ for message in re.findall('"([^:,^"]*):', report_json.get("query"))
+ if is_translatable(message)
+ ]
+ )
+
+ if report_json.get("json"):
+ report_json = json.loads(report_json.get("json"))
+
+ # if report_json.get('columns'):
+ # context = "Column of report '%s'" % self.report_name # context has to match context in `prepare_columns` in query_report.js
+ # messages.extend([(None, report_column[1], context) for report_column in report_json.get('columns')])
+
+ # if report_json.get('filters'):
+ # messages.extend([(None, report_filter.label) for report_filter in report_json.get('filters')])
+
+ if report_json.get("query"):
+ messages.extend(
+ [
+ (None, message)
+ for message in re.findall('"([^:,^"]*):', report_json.get("query"))
+ if is_translatable(message)
+ ]
+ )
+
+ messages = [
+ {
+ "position": os.path.join(self.path, self.report_name + ".json"),
+ "source_text": message[1],
+ "context": message[2] or "" if len(message) > 2 else "",
+ "line_no": message[3] or 0 if len(message) == 4 else 0,
+ }
+ for message in messages
+ ]
+
+ for item in os.listdir(self.path):
+ if os.path.isdir(os.path.join(self.path, item)):
+ messages.extend(FolderProcessor(os.path.join(self.path, item)).get_messages())
+ else:
+ messages.extend(FileProcessor(os.path.join(self.path, item)).get_messages())
+
+ for message in messages:
+ message["type"] = "Report"
+ message["document_name"] = frappe.unscrub(self.report_name)
+
+ return messages
diff --git a/translator/translator/doctype/translator_app/test_translator_app.py b/translator/translator/doctype/translator_app/test_translator_app.py
index aaa8507..be989bb 100644
--- a/translator/translator/doctype/translator_app/test_translator_app.py
+++ b/translator/translator/doctype/translator_app/test_translator_app.py
@@ -1,10 +1,12 @@
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
-import frappe
import unittest
-test_records = frappe.get_test_records('Translator App')
+import frappe
+
+test_records = frappe.get_test_records("Translator App")
+
class TestTranslatorApp(unittest.TestCase):
pass
diff --git a/translator/translator/doctype/translator_app/translator_app.js b/translator/translator/doctype/translator_app/translator_app.js
new file mode 100644
index 0000000..fc2ec04
--- /dev/null
+++ b/translator/translator/doctype/translator_app/translator_app.js
@@ -0,0 +1,18 @@
+// Copyright (c) 2021, Frappe Technologies and contributors
+// For license information, please see license.txt
+
+frappe.ui.form.on('Translator App', {
+ refresh: function(frm) {
+ frm.add_custom_button(__('Schedule String Extraction Job'), function () {
+ frm.call({
+ method: "extract_strings_from_app",
+ args: { app_name: frm.doc.name },
+ }).then(() => {
+ frappe.show_alert({
+ message:__('String Extraction Job scheduled successfully'),
+ indicator:'green'
+ }, 5);
+ });
+ });
+ }
+});
diff --git a/translator/translator/doctype/translator_app/translator_app.json b/translator/translator/doctype/translator_app/translator_app.json
index 98e3d47..81c5665 100644
--- a/translator/translator/doctype/translator_app/translator_app.json
+++ b/translator/translator/doctype/translator_app/translator_app.json
@@ -1,70 +1,56 @@
{
- "allow_copy": 0,
- "allow_import": 0,
- "allow_rename": 0,
- "autoname": "field:app_name",
- "creation": "2015-02-20 18:52:32.796094",
- "custom": 0,
- "docstatus": 0,
- "doctype": "DocType",
- "document_type": "Master",
+ "actions": [],
+ "autoname": "field:app_name",
+ "creation": "2015-02-20 18:52:32.796094",
+ "doctype": "DocType",
+ "document_type": "Setup",
+ "engine": "InnoDB",
+ "field_order": [
+ "app_name",
+ "repository_owner",
+ "sources"
+ ],
"fields": [
{
- "allow_on_submit": 0,
- "fieldname": "app_name",
- "fieldtype": "Data",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "in_filter": 0,
- "in_list_view": 0,
- "label": "App Name",
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 0,
- "read_only": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0
+ "fieldname": "app_name",
+ "fieldtype": "Data",
+ "label": "App Name",
+ "unique": 1
+ },
+ {
+ "fieldname": "sources",
+ "fieldtype": "Table",
+ "label": "Sources",
+ "options": "Translator App Source"
+ },
+ {
+ "fieldname": "repository_owner",
+ "fieldtype": "Data",
+ "label": "Repository Owner"
+ }
+ ],
+ "links": [
+ {
+ "link_doctype": "Extract Strings Job",
+ "link_fieldname": "translator_app"
}
- ],
- "hide_heading": 0,
- "hide_toolbar": 0,
- "in_create": 0,
- "in_dialog": 0,
- "is_submittable": 0,
- "issingle": 0,
- "istable": 0,
- "modified": "2015-02-20 18:52:32.796094",
- "modified_by": "Administrator",
- "module": "Translator",
- "name": "Translator App",
- "name_case": "",
- "owner": "Administrator",
+ ],
+ "modified": "2022-03-04 17:27:26.817134",
+ "modified_by": "Administrator",
+ "module": "Translator",
+ "name": "Translator App",
+ "naming_rule": "By fieldname",
+ "owner": "Administrator",
"permissions": [
{
- "amend": 0,
- "apply_user_permissions": 0,
- "cancel": 0,
- "create": 1,
- "delete": 1,
- "email": 0,
- "export": 0,
- "import": 0,
- "permlevel": 0,
- "print": 0,
- "read": 1,
- "report": 0,
- "role": "System Manager",
- "set_user_permissions": 0,
- "share": 0,
- "submit": 0,
+ "create": 1,
+ "delete": 1,
+ "read": 1,
+ "role": "System Manager",
"write": 1
}
- ],
- "read_only": 0,
- "read_only_onload": 0,
- "sort_field": "modified",
- "sort_order": "DESC"
+ ],
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "states": []
}
\ No newline at end of file
diff --git a/translator/translator/doctype/translator_app/translator_app.py b/translator/translator/doctype/translator_app/translator_app.py
index 2fbe40b..573fce7 100644
--- a/translator/translator/doctype/translator_app/translator_app.py
+++ b/translator/translator/doctype/translator_app/translator_app.py
@@ -1,9 +1,116 @@
# Copyright (c) 2015, Frappe Technologies and contributors
# For license information, please see license.txt
-from __future__ import unicode_literals
+from __future__ import unicode_literals, with_statement
+
import frappe
+import requests
from frappe.model.document import Document
+from translator.data import translate_untranslated_from_google
+
class TranslatorApp(Document):
- pass
+ def extract_strings_from_app(self):
+ for source in self.sources:
+ if source.disabled:
+ continue
+ frappe.get_doc(
+ {
+ "doctype": "Extract Strings Job",
+ "translator_app": self.app_name,
+ "translator_app_source": source.source,
+ }
+ ).save()
+
+
+@frappe.whitelist()
+def extract_strings_from_app(app_name):
+ frappe.get_doc("Translator App", app_name).extract_strings_from_app()
+
+
+def extract_strings_weekly():
+ for doc in get_weekly_string_extraction_candidates():
+ doc = frappe.get_doc(
+ {
+ "doctype": "Extract Strings Job",
+ "translator_app": doc.name,
+ "translator_app_source": doc.source,
+ }
+ ).save()
+
+
+def get_weekly_string_extraction_candidates():
+ TranslatorApp = frappe.qb.DocType("Translator App")
+ TranslatorAppSource = frappe.qb.DocType("Translator App Source")
+ return (
+ frappe.qb.from_(TranslatorApp)
+ .join(TranslatorAppSource)
+ .on(TranslatorAppSource.parent == TranslatorApp.name)
+ .where(
+ (TranslatorAppSource.disabled == False)
+ & (
+ (TranslatorAppSource.extract_strings_weekly == True)
+ | (TranslatorAppSource.strings_extracted == False)
+ )
+ )
+ .select(TranslatorApp.name, TranslatorAppSource.source)
+ ).run(as_dict=True)
+
+
+def translate_from_google():
+ for lang in frappe.db.sql_list("select name from tabLanguage"):
+ try:
+ translate_untranslated_from_google(lang)
+ except requests.exceptions.HTTPError:
+ print("skipping {0}".format(lang))
+ continue
+ finally:
+ frappe.db.commit()
+
+
+def create_release_weekly():
+ for doc in get_weekly_string_release_candidates():
+ if release := release_exists(doc):
+ print(release)
+ frappe.get_doc("Translator App Release", release[0]).create_release_job()
+ continue
+ doc = frappe.get_doc(
+ {
+ "doctype": "Translator App Release",
+ "translator_app": doc.name,
+ "repository_owner": doc.repository_owner,
+ "translator_app_source": doc.source,
+ "is_published": 1,
+ }
+ ).save()
+ doc.create_release_job()
+
+
+def release_exists(doc):
+ TranslatorAppRelease = frappe.qb.DocType("Translator App Release")
+ return (
+ frappe.qb.from_(TranslatorAppRelease)
+ .where(
+ (TranslatorAppRelease.translator_app == doc.name)
+ & (TranslatorAppRelease.translator_app_source == doc.source)
+ & (TranslatorAppRelease.repository_owner == doc.repository_owner)
+ )
+ .select(TranslatorAppRelease.name)
+ ).run(pluck="name")
+
+
+def get_weekly_string_release_candidates():
+ TranslatorApp = frappe.qb.DocType("Translator App")
+ TranslatorAppSource = frappe.qb.DocType("Translator App Source")
+ return (
+ frappe.qb.from_(TranslatorApp)
+ .join(TranslatorAppSource)
+ .on(TranslatorAppSource.parent == TranslatorApp.name)
+ .where(
+ (TranslatorAppSource.disabled == False)
+ & (TranslatorAppSource.release_weekly == True)
+ )
+ .select(
+ TranslatorApp.name, TranslatorAppSource.source, TranslatorApp.repository_owner
+ )
+ ).run(as_dict=True)
diff --git a/translator/translator/doctype/translator_app_release/__init__.py b/translator/translator/doctype/translator_app_release/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/translator/translator/doctype/translator_app_release/templates/translator_app_release.html b/translator/translator/doctype/translator_app_release/templates/translator_app_release.html
new file mode 100644
index 0000000..db12309
--- /dev/null
+++ b/translator/translator/doctype/translator_app_release/templates/translator_app_release.html
@@ -0,0 +1,7 @@
+{% extends "templates/web.html" %}
+
+{% block page_content %}
+
{{ title }}
+{% endblock %}
+
+
\ No newline at end of file
diff --git a/translator/translator/doctype/translator_app_release/templates/translator_app_release_row.html b/translator/translator/doctype/translator_app_release/templates/translator_app_release_row.html
new file mode 100644
index 0000000..d7014b4
--- /dev/null
+++ b/translator/translator/doctype/translator_app_release/templates/translator_app_release_row.html
@@ -0,0 +1,4 @@
+