-
Notifications
You must be signed in to change notification settings - Fork 887
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
Urdu lang #2509
Urdu lang #2509
Conversation
We suggest using https://hosted.weblate.org/engage/free-tube/ to add new languages |
static/locales/ur.yaml
Outdated
Search Filters: | ||
Search Filters: 'فلٹرز تلاش کریں۔' | ||
Sort By: | ||
Sort By: Sort By |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the non translated ones should be set to empty strings
Ex:
Sort By: Sort By | |
Sort By: '' |
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-edit the language
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more english texts
static/locales/ur.yaml
Outdated
Screenshot Success: 'اسکرین شاٹ کو بطور "$" محفوظ کیا گیا' | ||
Screenshot Error: 'اسکرین شاٹ ناکام ہو گیا۔ $' | ||
|
||
Yes: Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes: Yes | |
Yes: '' |
static/locales/ur.yaml
Outdated
Screenshot Error: 'اسکرین شاٹ ناکام ہو گیا۔ $' | ||
|
||
Yes: Yes | ||
No: No |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No: No | |
No: '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, its done, can you please tell me how can I be running the project locally? will npm start
or yarn dev
will work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn install
to install the dependencies and then yarn dev
to run in dev mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What absidue said + if you're trying to test out your language, you'll need to add "ur" to
FreeTube/src/renderer/i18n/index.js
Line 11 in cb63b12
const activeLocales = ['en-US', 'en_GB', 'ar', 'bg', 'ca', 'cs', 'da', 'de-DE', 'el', 'es', 'es_AR', 'es-MX', 'et', 'eu', 'fi', 'fr-FR', 'gl', 'he', 'hu', 'hr', 'id', 'is', 'it', 'ja', 'ko', 'lt', 'nb_NO', 'nl', 'nn', 'pl', 'pt', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] |
Head branch was pushed to by a user without write access
@ArshErgon will you be adding more translations or would you want this to be merged as is? |
@ChunkyProgrammer yes, I will be adding more languages, but at now, not. |
@ArshErgon more languages or more translations of this language |
@efb4f5ff-1298-471a-8973-3d47447115dc I will be adding more languages. |
tested, there are some issues with the yaml format. would you want me to push the commit to fix the yaml? @ArshErgon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the following changes and this PR should be ready to approve (you should also be able to test your changes once these changes are made to make the yaml valid)
Settings: | ||
The app needs to restart for changes to take effect. Restart and apply change?: 'دی | ||
تبدیلیاں اثر انداز ہونے کے لیے ایپ کو دوبارہ شروع کرنے کی ضرورت ہے۔ دوبارہ شروع کریں اور تبدیلی کا اطلاق کریں؟' | ||
General Settings: 'ترتیبات' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This key should remain blank (General Settings is translated below)
General Settings: 'ترتیبات' | |
General Settings: |
static/locales/ur.yaml
Outdated
Playlists: '' | ||
User Playlists: | ||
Your Playlists: '' | ||
Playlist Message: 'یہ صفحہ مکمل طور پر کام کرنے والی پلے لسٹس کا عکاس نہیں ہے۔ یہ صرف |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove outer 's as string contains one in it
Playlist Message: 'یہ صفحہ مکمل طور پر کام کرنے والی پلے لسٹس کا عکاس نہیں ہے۔ یہ صرف | |
Playlist Message: یہ صفحہ مکمل طور پر کام کرنے والی پلے لسٹس کا عکاس نہیں ہے۔ یہ صرف |
static/locales/ur.yaml
Outdated
Your Playlists: '' | ||
Playlist Message: 'یہ صفحہ مکمل طور پر کام کرنے والی پلے لسٹس کا عکاس نہیں ہے۔ یہ صرف | ||
ان ویڈیوز کی فہرست بناتا ہے جنہیں آپ نے محفوظ کیا ہے یا پسند کیا ہے۔ جب کام ختم ہو جائے تو سب | ||
فی الحال یہاں موجود ویڈیوز کو 'پسندیدہ' پلے لسٹ میں منتقل کر دیا جائے گا۔' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
فی الحال یہاں موجود ویڈیوز کو 'پسندیدہ' پلے لسٹ میں منتقل کر دیا جائے گا۔' | |
فی الحال یہاں موجود ویڈیوز کو 'پسندیدہ' پلے لسٹ میں منتقل کر دیا جائے گا۔ |
static/locales/ur.yaml
Outdated
Current Invidious Instance: '' | ||
# $ is replaced with the default Invidious instance | ||
The currently set default instance is $: '' | ||
No default instance has been set:'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a colon and a space(": ") should separate keys from values
No default instance has been set:'' | |
No default instance has been set: '' |
static/locales/ur.yaml
Outdated
No Action: '' | ||
Theme Settings: | ||
Theme Settings: '' | ||
Match Top Bar with Main Color:'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Match Top Bar with Main Color:'' | |
Match Top Bar with Main Color: '' |
static/locales/ur.yaml
Outdated
Expand Side Bar by Default: '' | ||
Disable Smooth Scrolling: '' | ||
UI Scale: '' | ||
Hide Side Bar Labels:'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hide Side Bar Labels:'' | |
Hide Side Bar Labels: '' |
static/locales/ur.yaml
Outdated
UI Scale: '' | ||
Hide Side Bar Labels:'' | ||
Base Theme: | ||
Base Theme:'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Base Theme:'' | |
Base Theme: '' |
static/locales/ur.yaml
Outdated
Ignore Warnings: 'انتباہات کو دبائیں جب موجودہ بیرونی کھلاڑی تعاون نہیں کرتا ہے۔ | ||
موجودہ کارروائی (مثلاً پلے لسٹ کو تبدیل کرنا، وغیرہ)۔' | ||
Custom External Player Arguments: | ||
'کوئی بھی حسب ضرورت کمانڈ لائن آرگومنٹس، جو سیمیکولنز (';') سے الگ کیے گئے ہیں، |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'کوئی بھی حسب ضرورت کمانڈ لائن آرگومنٹس، جو سیمیکولنز (';') سے الگ کیے گئے ہیں، | |
کوئی بھی حسب ضرورت کمانڈ لائن آرگومنٹس، جو سیمیکولنز (';') سے الگ کیے گئے ہیں، |
static/locales/ur.yaml
Outdated
موجودہ کارروائی (مثلاً پلے لسٹ کو تبدیل کرنا، وغیرہ)۔' | ||
Custom External Player Arguments: | ||
'کوئی بھی حسب ضرورت کمانڈ لائن آرگومنٹس، جو سیمیکولنز (';') سے الگ کیے گئے ہیں، | ||
آپ بیرونی کھلاڑی کو منتقل کرنا چاہتے ہیں۔' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
آپ بیرونی کھلاڑی کو منتقل کرنا چاہتے ہیں۔' | |
آپ بیرونی کھلاڑی کو منتقل کرنا چاہتے ہیں۔ |
Head branch was pushed to by a user without write access
As mentioned above, it would be a lot faster for future language contributions to be done through our weblate https://hosted.weblate.org/engage/free-tube/ . File is valid YAML so lgtm. Thanks so much for contributing to freetube, we hope to see more contributions in the future :) |
added support for urdu language.