-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too long to read for a variable #3
Labels
Comments
jacobkim9881
added
help wanted
Extra attention is needed
good first issue
Good for newcomers
invalid
This doesn't seem right
and removed
invalid
This doesn't seem right
labels
Sep 12, 2022
Can you suggest a variable name ? |
@Niravprajapati1 It may be name with tag path. The keys in |
Can you share some examples? |
@Niravprajapati1 I am sorry the issue is solved and closed before giving you any guidance. There is other issue and could you give any advice or take the issue to solve? |
@jacobkim9881 sure 😁 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Briefing
Variable and parameter names of recusion function are too long to read and the names should be edited into shorter and more readable name.
Problem
The variable and parameter names
arrayOfStringsWithTagPath
at line 26./src/index.js
and ataddStr
function in./src/utils.js
are too long to read.Objective
The variable and parameter names
arrayOfStringsWithTagPath
should have shorter and more readable name.What is a role the variable
This repo changes
.json
files into translated.json
files by helping Google translate API(If you want to how the repository works then go to README.md. To translate the.json
file every keys and values of the json file should be parsed by recursion. After recursion function, each key path from the root key is pushed into an arrayarrayOfStringsWithTagPath
. So the output array of the recursion function isarrayOfStringsWithTagPath
. This variable is put intoaddStr
function and repeated by recursion.To do
refact
branch.arrayOfStringsWithTagPath
at line 26./src/index.js
arrayOfStringsWithTagPath
and ataddStr
function in./src/utils.js
./exe.sh local_obj.json
at./
.The text was updated successfully, but these errors were encountered: