Skip to content

Commit

Permalink
Updated translations for editor
Browse files Browse the repository at this point in the history
  • Loading branch information
macarooni-man committed Feb 3, 2025
1 parent 265599b commit 53e092e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-tools/locale-gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def is_valid_char(char):
return ''.join(f"{char}" if is_emoji(char) else char for char in text)
def to_english_2(text: str):
def get_content():
data = {'action': 'do_translation', 'translator_nonce': 'bce03de1fa', 'post_id': '17141', 'to_translate': text}
data = {'action': 'do_translation', 'translator_nonce': '759775a7ec', 'post_id': '17141', 'to_translate': text}
r = requests.post('https://anythingtranslate.com/wp-admin/admin-ajax.php', data=data, timeout=5)
if r.status_code == 200:
return escape_emojis(r.json()['data'])
Expand Down
2 changes: 1 addition & 1 deletion source/locales.json

Large diffs are not rendered by default.

0 comments on commit 53e092e

Please sign in to comment.