Skip to content

Commit

Permalink
Merge pull request kodadot#11009 from roiLeo/feature/locales/order
Browse files Browse the repository at this point in the history
✨ script to sort locale key
  • Loading branch information
vikiival authored Oct 1, 2024
2 parents 6788b37 + ad25851 commit 6fe3e47
Show file tree
Hide file tree
Showing 25 changed files with 5,204 additions and 5,297 deletions.
2 changes: 1 addition & 1 deletion locales/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Particular commands you need to write to your terminal
Look up on instructions at [First_Time](https://github.com/kodadot/nft-gallery/blob/main//content/blog/first-time.md#hyper-start-)

1. If it is everything runs, that great!
2. Now open in your editor your language .json file which is in `langDir`, for Spanish i.e. `es.json`
2. Now open in your editor your language .json file which is in `locales`, for Spanish i.e. `es.json`
3. Everytime you hit save, reload page to see your changes live.
4. On the upper right you will see your flag. If you don't see your native language flag, [request new language at our Discord](https://discord.gg/kodadot), we can add your language!
5. Once you are done, [make pull-request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)
Expand Down
128 changes: 51 additions & 77 deletions locales/all_lang.json
Original file line number Diff line number Diff line change
@@ -1,107 +1,81 @@
{
"data": { "ksm": { "fee": "0.00007" } },
"links": {
"kusama_network": {
"href": "https://kusama.network",
"docs": {
"mirror_learn_identity": {
"href": "https://guide.kusama.network/docs/learn-identity"
},
"existential_deposit": {
"href": "https://docs.kodadot.xyz/FAQ.html#what-is-existential-deposit-ed"
},
"minting_tutorial": {
"href": "https://docs.kodadot.xyz/tutorials/how-to-kodadot-phone-ios.html#how-to-mint-nfts-from-ios-device"
}
}
},
"kusama_scanner": {
"href": "https://kusama.subscan.io/",
"extrinsic": {
"href": "https://kusama.subscan.io/extrinsic/6095478-1"
}
},
"rmrk_credit": {
"href": "/rmrk/credit"
},
"rmrk_create": {
"href": "/rmrk/create"
},
"rmrk_profile": {
"href": "/rmrk/u"
},
"artist_grant_program": { "href": "https://form.kodadot.xyz/grant" },
"binance_exchange": {
"href": "https://accounts.binance.com/en/register?ref=T1JB89F0"
},
"bybit_exchange": {
"href": "https://www.bybit.com/en-US/"
},
"simpleswap_exchange": {
"href": "https://simpleswap.io/?ref=6cc6e0c538ad"
"bybit_exchange": { "href": "https://www.bybit.com/en-US/" },
"chain_decision": {
"href": "https://github.com/kodadot/nft-gallery/issues/529"
},
"polkadot_js_extension": {
"href": "https://polkadot.js.org/extension"
"coingecko_ksm_markets": {
"href": "https://www.coingecko.com/en/coins/kusama#markets"
},
"coingecko_ksm_price": {
"href": "https://www.coingecko.com/en/coins/kusama"
},
"coingecko_ksm_markets": {
"href": "https://www.coingecko.com/en/coins/kusama#markets"
},
"ramp_network": {
"href": "https://ramp.network",
"supported_countries": {
"href": "https://support.ramp.network/en/article/what-countries-do-you-support-1ua7sn1/"
"dotapps_io": {
"kusama_rpc_accounts": {
"href": "https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/accounts"
},
"kusama_rpc_settings_metadata": {
"href": "https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/settings/metadata"
}
},
"wikipedia": {
"nft": "https://en.wikipedia.org/wiki/Non-fungible_token"
},
"kodadot_social": {
"discord": {
"href": "https://discord.gg/657ReTFf78"
},
"discord_help": {
"href": "https://discord.gg/7fMUnabf"
},
"twitter": {
"href": "https://twitter.com/kodadot"
"contributing_guide": {
"href": "https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md"
},
"discord": { "href": "https://discord.gg/657ReTFf78" },
"discord_help": { "href": "https://discord.gg/7fMUnabf" },
"open_issues": {
"href": "https://github.com/kodadot/nft-gallery/issues"
},
"contributing_guide": {
"href": "https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md"
},
"presskit": {
"href": "https://github.com/kodadot/kodadot-presskit/tree/main/v3"
}
},
"rmrk_spec_emote_issue": {
"href": "https://github.com/Swader/rmrk-spec/issues/10"
},
"twitter": { "href": "https://twitter.com/kodadot" }
},
"chain_decision": {
"href": "https://github.com/kodadot/nft-gallery/issues/529"
"kusama_network": {
"docs": {
"existential_deposit": {
"href": "https://docs.kodadot.xyz/FAQ.html#what-is-existential-deposit-ed"
},
"minting_tutorial": {
"href": "https://docs.kodadot.xyz/tutorials/how-to-kodadot-phone-ios.html#how-to-mint-nfts-from-ios-device"
},
"mirror_learn_identity": {
"href": "https://guide.kusama.network/docs/learn-identity"
}
},
"href": "https://kusama.network"
},
"kusama_polkassembly": {
"kodadot_nft_explorer_post": {
"href": "https://kusama.polkassembly.io/post/384"
}
},
"dotapps_io": {
"kusama_rpc_settings_metadata": {
"href": "https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/settings/metadata"
},
"kusama_rpc_accounts": {
"href": "https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/accounts"
"kusama_scanner": {
"extrinsic": { "href": "https://kusama.subscan.io/extrinsic/6095478-1" },
"href": "https://kusama.subscan.io/"
},
"polkadot_js_extension": { "href": "https://polkadot.js.org/extension" },
"ramp_network": {
"href": "https://ramp.network",
"supported_countries": {
"href": "https://support.ramp.network/en/article/what-countries-do-you-support-1ua7sn1/"
}
},
"artist_grant_program": {
"href": "https://form.kodadot.xyz/grant"
}
},
"data": {
"ksm": {
"fee": "0.00007"
}
"rmrk_create": { "href": "/rmrk/create" },
"rmrk_credit": { "href": "/rmrk/credit" },
"rmrk_profile": { "href": "/rmrk/u" },
"rmrk_spec_emote_issue": {
"href": "https://github.com/Swader/rmrk-spec/issues/10"
},
"simpleswap_exchange": {
"href": "https://simpleswap.io/?ref=6cc6e0c538ad"
},
"wikipedia": { "nft": "https://en.wikipedia.org/wiki/Non-fungible_token" }
}
}
100 changes: 50 additions & 50 deletions locales/bn.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"translation": "Bengali",
"create": "সৃষ্টি",
"Account": "অ্যাকাউন্ট",
"Accounts": "অ্যাকাউন্ট",
"Add Animated File": "অ্যানিমেটেড ফাইল যুক্ত করুন।",
"Add Token": "টোকেন যোগ করুন।",
"Add collection cover which will show up at collection view": "সংগ্রহের কভার আপলোড করুন, এটা ‘সংগ্রহ’ ভিউএ দেখাবে।",
"Click to add image": "ছবি যোগ করতে ক্লিক করুন।",
"Collection": "সংগ্রহ",
"Create": "সৃষ্টি",
"credit": "সম্মান",
"Create your NFT Token & Collectibles": "আপনার এনএফটি টোকেন এবং সংগ্রহযোগ্যগুলি তৈরি করুন।",
"Credit": "সম্মান",
"gallery": "গ্যালারী",
"Describe your collection, it will show under collection view": "আপনার সংগ্রহকে বর্ণনা করুণ, এটা 'সংগ্রহ' ভিউএর নিচে দেখাবে।",
"Description": "বিবরণ",
"Explorer": "এক্সপ্লোরার",
"Feedback? We\\'d be happy to discuss it.": "মতামত? আপনার মতামত আমাদের সাথে আলোচনা করুণ।",
"Gallery": "গ্যালারী",
"accounts": "অ্যাকাউন্ট",
"Accounts": "অ্যাকাউন্ট",
"fullscreen": "পূর্ণপর্দা",
"newTab": " নতুন ট্যাবে খোলুন",
"transfer": "স্থানান্তর",
"Transfer": "স্থানান্তর",
"settings": "সেটিংস",
"Settings": "সেটিংস",
"first NFT market explorer on Kusama and Polkadot": "কুসামা এবং পোলকাডটের প্রথম এনএফটি মার্কেট এক্সপ্লোরার",
"legend": "লেজেন্ড",
"collection": "সংগ্রহ",
"Collection": "সংগ্রহ",
"owner": "অধিকারী",
"actions": "একশন",
"facts": "তথ্য",
"instance": "নজির",
"Gallery of NFT Tokens and Collectibles": "এনএফটি টোকেন এবং সংগ্রহযোগ্যগুলির গ্যালারী।",
"Image data": "চিত্রের ডেটা।",
"Instance": "নজির",
"context": "প্রসঙ্গ",
"using": "ব্যবহার",
"computed id": "কম্পিউটেড আইডি",
"content": "বিষয়",
"create collection": "Create সংগ্রহ",
"Owner address of minted art": "মিন্ট করা শিল্পের অধিকারীর ঠিকানা",
"Name you want to show in gallery view": "যে নাম গ্যালারী ভিউএ দেখাতে চান।",
"Symbol you want to trade it under": "যে প্রতীক লাগিয়ে লেনদেন করতে চান।",
"Describe your collection, it will show under collection view": "আপনার সংগ্রহকে বর্ণনা করুণ, এটা 'সংগ্রহ' ভিউএর নিচে দেখাবে।",
"Add collection cover which will show up at collection view": "সংগ্রহের কভার আপলোড করুন, এটা ‘সংগ্রহ’ ভিউএ দেখাবে।",
"Select collection where do you want mint your token": "সংগ্রহ নির্বাচন করুণ, যেখানে আপনি টোকেন মিন্ট করবেন।",
"Instance_tooltip": "Instance হল মার্কেটপ্লেসের টিকারের মতো কোনও এনএফটি-এর সনাক্তকারী। এটা একটা \"ছোট, কম্প্যুটার-ফ্রেন্ডলি নাম।\"",
"Maximum NFTs in collection": "সংগ্রহের সর্বাধিক এনএফটি।",
"Account": "অ্যাকাউন্ট",
"Name": "নাম",
"Symbol": "প্রতীক",
"Description": "বিবরণ",
"Multimedia data": "মাল্টিমিডিয়া ডেটা",
"Metadata IPFS Hash": "মেটাডাটা IPFS হ্যাশ",
"Add Token": "টোকেন যোগ করুন।",
"Mint": "মিন্ট করুণ",
"reload": "পুনরায়",
"Transferable is by default": "ডিফল্টরূপে স্থানান্তরযোগ্য",
"Serial Number": "ক্রমিক সংখ্যা",
"Multimedia data": "মাল্টিমিডিয়া ডেটা",
"Name": "নাম",
"Name of your token": "আপনার টোকেনের নাম",
"Instance_tooltip": "Instance হল মার্কেটপ্লেসের টিকারের মতো কোনও এনএফটি-এর সনাক্তকারী। এটা একটা \"ছোট, কম্প্যুটার-ফ্রেন্ডলি নাম।\"",
"Upload will upload your image of the NFT": "আপলোড (Upload) আপনার এনএফটি এর চিত্র আপলোড করবে।",
"Click to add image": "ছবি যোগ করতে ক্লিক করুন।",
"Add Animated File": "অ্যানিমেটেড ফাইল যুক্ত করুন।",
"Image data": "চিত্রের ডেটা।",
"Explorer": "এক্সপ্লোরার",
"Gallery of NFT Tokens and Collectibles": "এনএফটি টোকেন এবং সংগ্রহযোগ্যগুলির গ্যালারী।",
"Create your NFT Token & Collectibles": "আপনার এনএফটি টোকেন এবং সংগ্রহযোগ্যগুলি তৈরি করুন।",
"Name you want to show in gallery view": "যে নাম গ্যালারী ভিউএ দেখাতে চান।",
"New here? We have F.A.Q.": "এখানে নতুন? আমাদের সচরাচর জিজ্ঞাস্য (এফ.এ.কিউ) আছে।",
"Feedback? We\\'d be happy to discuss it.": "মতামত? আপনার মতামত আমাদের সাথে আলোচনা করুণ।",
"Read our story, how we started.": "আমাদের গল্পটি পড়ুন, আমরা কীভাবে শুরু করেছি।"
"Owner address of minted art": "মিন্ট করা শিল্পের অধিকারীর ঠিকানা",
"Read our story, how we started.": "আমাদের গল্পটি পড়ুন, আমরা কীভাবে শুরু করেছি।",
"Select collection where do you want mint your token": "সংগ্রহ নির্বাচন করুণ, যেখানে আপনি টোকেন মিন্ট করবেন।",
"Serial Number": "ক্রমিক সংখ্যা",
"Settings": "সেটিংস",
"Symbol": "প্রতীক",
"Symbol you want to trade it under": "যে প্রতীক লাগিয়ে লেনদেন করতে চান।",
"Transfer": "স্থানান্তর",
"Transferable is by default": "ডিফল্টরূপে স্থানান্তরযোগ্য",
"Upload will upload your image of the NFT": "আপলোড (Upload) আপনার এনএফটি এর চিত্র আপলোড করবে।",
"accounts": "অ্যাকাউন্ট",
"actions": "একশন",
"collection": "সংগ্রহ",
"computed id": "কম্পিউটেড আইডি",
"content": "বিষয়",
"context": "প্রসঙ্গ",
"create": "সৃষ্টি",
"create collection": "Create সংগ্রহ",
"credit": "সম্মান",
"facts": "তথ্য",
"first NFT market explorer on Kusama and Polkadot": "কুসামা এবং পোলকাডটের প্রথম এনএফটি মার্কেট এক্সপ্লোরার",
"fullscreen": "পূর্ণপর্দা",
"gallery": "গ্যালারী",
"instance": "নজির",
"legend": "লেজেন্ড",
"newTab": " নতুন ট্যাবে খোলুন",
"owner": "অধিকারী",
"reload": "পুনরায়",
"settings": "সেটিংস",
"transfer": "স্থানান্তর",
"translation": "Bengali",
"using": "ব্যবহার"
}
100 changes: 50 additions & 50 deletions locales/cn.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"translation": "英文",
"create": "创建",
"Account": "账户",
"Accounts": "账户",
"Add Animated File": "添加动画文件",
"Add Token": "添加代币",
"Add collection cover which will show up at collection view": "增加收藏品封面,将在收藏品展示中显示",
"Click to add image": "点击添加形象",
"Collection": "收藏",
"Create": "创建",
"credit": "创建",
"Create your NFT Token & Collectibles": "创建您的NFT代币和收藏品",
"Credit": "积分",
"gallery": "画廊",
"Describe your collection, it will show under collection view": "您的收藏的描述,将在收藏品展示中显示",
"Description": "描述",
"Explorer": "浏览器",
"Feedback? We\\'d be happy to discuss it.": "您的反馈,我们很开心对此进行讨论。",
"Gallery": "画廊",
"accounts": "账户",
"Accounts": "账户",
"transfer": "发送",
"Transfer": "发送",
"settings": "设置",
"Settings": "设置",
"first NFT market explorer on Kusama and Polkadot": "Kusama和波卡上首个NFT市场搜索引擎",
"legend": "作品描述",
"collection": "收藏",
"Collection": "收藏",
"owner": "所有者",
"actions": "执行",
"facts": "Facts",
"fullscreen": "全屏",
"instance": "Instance",
"Gallery of NFT Tokens and Collectibles": "NFT代币和收藏品画廊",
"Image data": "形象数据",
"Instance": "Instance",
"context": "背景",
"reload": "刷新",
"newTab": "在新标签页中打开",
"using": "使用中",
"computed id": "计算id",
"content": "内容",
"create collection": "创建收藏",
"Owner address of minted art": "作品所有者地址",
"Name you want to show in gallery view": "画廊展示界面您想显示的名字",
"Symbol you want to trade it under": "交易中您想使用的标志",
"Describe your collection, it will show under collection view": "您的收藏的描述,将在收藏品展示中显示",
"Add collection cover which will show up at collection view": "增加收藏品封面,将在收藏品展示中显示",
"Select collection where do you want mint your token": "选择您想铸币的收藏品",
"Instance_tooltip": "Instance是一个NFT的标志符, 就像交易市场指示. It's a \"short computer-friendly name\"",
"Maximum NFTs in collection": "收藏的最大NFTs数量",
"Account": "账户",
"Name": "姓名",
"Symbol": "标志",
"Description": "描述",
"Multimedia data": "多媒体数据",
"Metadata IPFS Hash": "元数据IPFS Hash值",
"Add Token": "添加代币",
"Mint": "铸币",
"Transferable is by default": "默认模式可转移",
"Serial Number": "序列号吗",
"Multimedia data": "多媒体数据",
"Name": "姓名",
"Name of your token": "您的代币名称",
"Instance_tooltip": "Instance是一个NFT的标志符, 就像交易市场指示. It's a \"short computer-friendly name\"",
"Upload will upload your image of the NFT": "Upload 将上传您的NFT的形象",
"Click to add image": "点击添加形象",
"Add Animated File": "添加动画文件",
"Image data": "形象数据",
"Explorer": "浏览器",
"Gallery of NFT Tokens and Collectibles": "NFT代币和收藏品画廊",
"Create your NFT Token & Collectibles": "创建您的NFT代币和收藏品",
"Name you want to show in gallery view": "画廊展示界面您想显示的名字",
"New here? We have F.A.Q.": "欢迎您的到来!这里有您想了解的一切。",
"Feedback? We\\'d be happy to discuss it.": "您的反馈,我们很开心对此进行讨论。",
"Read our story, how we started.": "关于我们的故事,以及我们的开始。"
"Owner address of minted art": "作品所有者地址",
"Read our story, how we started.": "关于我们的故事,以及我们的开始。",
"Select collection where do you want mint your token": "选择您想铸币的收藏品",
"Serial Number": "序列号吗",
"Settings": "设置",
"Symbol": "标志",
"Symbol you want to trade it under": "交易中您想使用的标志",
"Transfer": "发送",
"Transferable is by default": "默认模式可转移",
"Upload will upload your image of the NFT": "Upload 将上传您的NFT的形象",
"accounts": "账户",
"actions": "执行",
"collection": "收藏",
"computed id": "计算id",
"content": "内容",
"context": "背景",
"create": "创建",
"create collection": "创建收藏",
"credit": "创建",
"facts": "Facts",
"first NFT market explorer on Kusama and Polkadot": "Kusama和波卡上首个NFT市场搜索引擎",
"fullscreen": "全屏",
"gallery": "画廊",
"instance": "Instance",
"legend": "作品描述",
"newTab": "在新标签页中打开",
"owner": "所有者",
"reload": "刷新",
"settings": "设置",
"transfer": "发送",
"translation": "英文",
"using": "使用中"
}
Loading

0 comments on commit 6fe3e47

Please sign in to comment.