mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-13 15:06:46 +01:00
Add screenshots to the right place
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
01b37dcb1c
commit
78066540dd
app/src/Generic/fastlane/metadata/android/en-US/phoneScreenshots
call_screenshot.pngcalls_screenshot.pngcalls_search_screenshot.pngcontacts_screenshot.pngserver_entry_screenshot.pngsettings_screenshot.png
scripts/metadata
Before ![]() (image error) Size: 1.2 MiB After ![]() (image error) Size: 1.2 MiB ![]() ![]() |
Before ![]() (image error) Size: 115 KiB After ![]() (image error) Size: 115 KiB ![]() ![]() |
Before ![]() (image error) Size: 98 KiB After ![]() (image error) Size: 98 KiB ![]() ![]() |
Before ![]() (image error) Size: 76 KiB After ![]() (image error) Size: 76 KiB ![]() ![]() |
Before ![]() (image error) Size: 40 KiB After ![]() (image error) Size: 40 KiB ![]() ![]() |
Before ![]() (image error) Size: 90 KiB After ![]() (image error) Size: 90 KiB ![]() ![]() |
@ -79,16 +79,13 @@ def main():
|
|||||||
short_desc = e.find('.//string[@name="nc_store_short_desc"]')
|
short_desc = e.find('.//string[@name="nc_store_short_desc"]')
|
||||||
full_desc = e.find('.//string[@name="nc_store_full_desc"]')
|
full_desc = e.find('.//string[@name="nc_store_full_desc"]')
|
||||||
if short_desc is not None:
|
if short_desc is not None:
|
||||||
save_file(short_desc.text, LANG_MAP[entry], 'short_description.txt', False)
|
save_file(short_desc.text, LANG_MAP[entry], 'short_description.txt')
|
||||||
if full_desc is not None:
|
if full_desc is not None:
|
||||||
save_file(full_desc.text, LANG_MAP[entry], 'full_description.txt', False)
|
save_file(full_desc.text, LANG_MAP[entry], 'full_description.txt')
|
||||||
|
|
||||||
|
|
||||||
def save_file(text, directory, filename, dev):
|
def save_file(text, directory, filename):
|
||||||
if dev:
|
directory_path = os.path.join(PATH, METADATA_PATH, directory)
|
||||||
directory_path = os.path.join(PATH, METADATA_DEV_PATH, directory)
|
|
||||||
else:
|
|
||||||
directory_path = os.path.join(PATH, METADATA_PATH, directory)
|
|
||||||
|
|
||||||
if not os.path.exists(directory_path):
|
if not os.path.exists(directory_path):
|
||||||
os.makedirs(directory_path)
|
os.makedirs(directory_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user