Skip to content

Commit

Permalink
rename generate_translation_file
Browse files Browse the repository at this point in the history
  • Loading branch information
angelafeliciaa committed Nov 16, 2024
1 parent 44f9029 commit 8086db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18nilize/src/internationalize/api_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_token():
else:
raise Exception(f"Failed to retrieve token. Status code: {response.status_code}")

def generate_translation_file(language):
def fetch_translation_data(language):
token = globals.token
if not token:
print("Token not found. Creating a new token...")
Expand Down

0 comments on commit 8086db4

Please sign in to comment.