mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 04:38:47 +08:00
Merge pull request #4585 from ibnesayeed/urdu-support
Add initial Urdu support with RTL direction
This commit is contained in:
7
plugins/discourse-details/config/locales/client.ur.yml
Normal file
7
plugins/discourse-details/config/locales/client.ur.yml
Normal file
@ -0,0 +1,7 @@
|
||||
ur:
|
||||
js:
|
||||
details:
|
||||
title: Hide Details
|
||||
composer:
|
||||
details_title: Summary
|
||||
details_text: "This text will be hidden"
|
3
plugins/discourse-details/config/locales/server.ur.yml
Normal file
3
plugins/discourse-details/config/locales/server.ur.yml
Normal file
@ -0,0 +1,3 @@
|
||||
ur:
|
||||
site_settings:
|
||||
details_enabled: "Enable the details plugin. If you change this, you must rebake all posts with: \"rake posts:rebake\"."
|
@ -0,0 +1,3 @@
|
||||
ur:
|
||||
site_settings:
|
||||
daily_performance_report: "Analyze NGINX logs daily and post a Staff Only topic with details"
|
89
plugins/poll/config/locales/client.ur.yml
Normal file
89
plugins/poll/config/locales/client.ur.yml
Normal file
@ -0,0 +1,89 @@
|
||||
# encoding: utf-8
|
||||
# This file contains content for the client portion of the poll plugin, sent out
|
||||
# to the Javascript app.
|
||||
#
|
||||
# To work with us on translations, see:
|
||||
# https://www.transifex.com/projects/p/discourse-org/
|
||||
#
|
||||
# This is a "source" file, which is used by Transifex to get translations for other languages.
|
||||
# After this file is changed, it needs to be pushed by a maintainer to Transifex:
|
||||
#
|
||||
# tx push -s
|
||||
#
|
||||
# Read more here: https://meta.discourse.org/t/contribute-a-translation-to-discourse/14882
|
||||
#
|
||||
# To validate this YAML file after you change it, please paste it into
|
||||
# http://yamllint.com/
|
||||
|
||||
ur:
|
||||
js:
|
||||
poll:
|
||||
voters:
|
||||
one: "voter"
|
||||
other: "voters"
|
||||
total_votes:
|
||||
one: "total vote"
|
||||
other: "total votes"
|
||||
|
||||
average_rating: "Average rating: <strong>%{average}</strong>."
|
||||
|
||||
public:
|
||||
title: "Votes are public."
|
||||
|
||||
multiple:
|
||||
help:
|
||||
at_least_min_options:
|
||||
one: "Choose at least <strong>1</strong> option"
|
||||
other: "Choose at least <strong>%{count}</strong> options"
|
||||
up_to_max_options:
|
||||
one: "Choose up to <strong>1</strong> option"
|
||||
other: "Choose up to <strong>%{count}</strong> options"
|
||||
x_options:
|
||||
one: "Choose <strong>1</strong> option"
|
||||
other: "Choose <strong>%{count}</strong> options"
|
||||
between_min_and_max_options: "Choose between <strong>%{min}</strong> and <strong>%{max}</strong> options"
|
||||
|
||||
cast-votes:
|
||||
title: "Cast your votes"
|
||||
label: "Vote now!"
|
||||
|
||||
show-results:
|
||||
title: "Display the poll results"
|
||||
label: "Show results"
|
||||
|
||||
hide-results:
|
||||
title: "Back to your votes"
|
||||
label: "Hide results"
|
||||
|
||||
open:
|
||||
title: "Open the poll"
|
||||
label: "Open"
|
||||
confirm: "Are you sure you want to open this poll?"
|
||||
|
||||
close:
|
||||
title: "Close the poll"
|
||||
label: "Close"
|
||||
confirm: "Are you sure you want to close this poll?"
|
||||
|
||||
error_while_toggling_status: "Sorry, there was an error toggling the status of this poll."
|
||||
error_while_casting_votes: "Sorry, there was an error casting your votes."
|
||||
error_while_fetching_voters: "Sorry, there was an error displaying the voters."
|
||||
|
||||
ui_builder:
|
||||
title: Build Poll
|
||||
insert: Insert Poll
|
||||
help:
|
||||
options_count: Enter at least 2 options
|
||||
poll_type:
|
||||
label: Type
|
||||
regular: Single Choice
|
||||
multiple: Multiple Choice
|
||||
number: Number Rating
|
||||
poll_config:
|
||||
max: Max
|
||||
min: Min
|
||||
step: Step
|
||||
poll_public:
|
||||
label: Show who voted
|
||||
poll_options:
|
||||
label: Enter one poll option per line
|
65
plugins/poll/config/locales/server.ur.yml
Normal file
65
plugins/poll/config/locales/server.ur.yml
Normal file
@ -0,0 +1,65 @@
|
||||
# encoding: utf-8
|
||||
# This file contains content for the server portion of the poll plugin used by Ruby
|
||||
#
|
||||
# To work with us on translations, see:
|
||||
# https://www.transifex.com/projects/p/discourse-org/
|
||||
#
|
||||
# This is a "source" file, which is used by Transifex to get translations for other languages.
|
||||
# After this file is changed, it needs to be pushed by a maintainer to Transifex:
|
||||
#
|
||||
# tx push -s
|
||||
#
|
||||
# Read more here: https://meta.discourse.org/t/contribute-a-translation-to-discourse/14882
|
||||
#
|
||||
# To validate this YAML file after you change it, please paste it into
|
||||
# http://yamllint.com/
|
||||
|
||||
ur:
|
||||
site_settings:
|
||||
poll_enabled: "Allow users to create polls?"
|
||||
poll_maximum_options: "Maximum number of options allowed in a poll."
|
||||
poll_edit_window_mins: "Number of minutes after post creation during which polls can be edited."
|
||||
|
||||
poll:
|
||||
multiple_polls_without_name: "There are multiple polls without a name. Use the '<code>name</code>' attribute to uniquely identify your polls."
|
||||
multiple_polls_with_same_name: "There are multiple polls with the same name: <strong>%{name}</strong>. Use the '<code>name</code>' attribute to uniquely identify your polls."
|
||||
|
||||
default_poll_must_have_at_least_2_options: "Poll must have at least 2 options."
|
||||
named_poll_must_have_at_least_2_options: "Poll named <strong>%{name}</strong> must have at least 2 options."
|
||||
|
||||
default_poll_must_have_less_options:
|
||||
one: "Poll must have less than 1 option."
|
||||
other: "Poll must have less than %{count} options."
|
||||
named_poll_must_have_less_options:
|
||||
one: "Poll named <strong>%{name}</strong> must have less than 1 option."
|
||||
other: "Poll named <strong>%{name}</strong> must have less than %{count} options."
|
||||
|
||||
default_poll_must_have_different_options: "Poll must have different options."
|
||||
named_poll_must_have_different_options: "Poll named <strong>%{name}</strong> must have different options."
|
||||
|
||||
default_poll_with_multiple_choices_has_invalid_parameters: "Poll with multiple choices has invalid parameters."
|
||||
named_poll_with_multiple_choices_has_invalid_parameters: "Poll named <strong>%{name}</strong> with multiple choice has invalid parameters."
|
||||
|
||||
requires_at_least_1_valid_option: "You must select at least 1 valid option."
|
||||
|
||||
default_cannot_be_made_public: "Poll with votes cannot be made public."
|
||||
named_cannot_be_made_public: "Poll named <strong>%{name}</strong> has votes cannot be made public."
|
||||
|
||||
edit_window_expired:
|
||||
cannot_change_polls: "You cannot add, remove or rename polls after the first %{minutes} minutes."
|
||||
op_cannot_edit_options: "You cannot add or remove poll options after the first %{minutes} minutes. Please contact a moderator if you need to edit a poll option."
|
||||
staff_cannot_add_or_remove_options: "You cannot add or remove poll options after the first %{minutes} minutes. You should close this topic and create a new one instead."
|
||||
|
||||
no_polls_associated_with_this_post: "No polls are associated with this post."
|
||||
no_poll_with_this_name: "No poll named <strong>%{name}</strong> associated with this post."
|
||||
|
||||
post_is_deleted: "Cannot act on a deleted post."
|
||||
|
||||
topic_must_be_open_to_vote: "The topic must be open to vote."
|
||||
poll_must_be_open_to_vote: "Poll must be open to vote."
|
||||
|
||||
topic_must_be_open_to_toggle_status: "The topic must be open to toggle status."
|
||||
only_staff_or_op_can_toggle_status: "Only a staff member or the original poster can toggle a poll status."
|
||||
|
||||
email:
|
||||
link_to_poll: "Click to view the poll."
|
Reference in New Issue
Block a user