Code Monkey home page Code Monkey logo

Comments (6)

GlenDC avatar GlenDC commented on July 20, 2024

Ok I'm doing this write now :)

from codecombat.

GlenDC avatar GlenDC commented on July 20, 2024

Question: for play web page we have all these tutorials. They all have a name, id, describition, etc... You use the template file: play.jade for this. How can i make sure I use data-i18n for all of these? As the code is just generic code, and doesn't say anything about one specific tutorial. Or is it for cases like this impossible?

from codecombat.

GlenDC avatar GlenDC commented on July 20, 2024

Sometimes there is code like _#thangs-treema(title="Double click to configure a thang")_ in thangs_jab.jade on line 3. I tried putting a data-i18n there next to title, but it doesn't seem to work. So is it possible to provide a data--i18n tag for code like this, and if yes, how?

from codecombat.

GlenDC avatar GlenDC commented on July 20, 2024

Regarding spaces: What I do is just make sure the spaces between the 2 concatenated localization strings is separate and is not part of the localization string. I think that fixes your prefix/suffix problem.

from codecombat.

GlenDC avatar GlenDC commented on July 20, 2024

Localization List for commit 683b72f:

  • admin:
    • av_title
    • av_entities_sub_title
    • av_entities_users_url
    • av_entities_active_instances_url
    • av_other_sub_title
    • av_other_debug_base_url
    • u_title
    • ai_title
  • editor:
    • ep_intro_title
    • ep_intro_desc_top_pref
    • ep_intro_desc_top_strong_editor
    • ep_intro_desc_top_suf
    • ep_img_desc_articles
    • ep_img_desc_maps
    • ep_img_desc_scripts
    • ep_img_desc_units
    • ep_intro_desc_bottom
    • ep_watch_title
    • ep_use_title
    • ep_use_desc_pref
    • ep_use_artisan_url
    • ep_use_desc_suf
    • ep_use_contribute_url
    • ep_url_edit_levels
    • ep_url_edit_articles
    • level_title
    • level_btn_save
    • level_btn_fork
    • level_btn_play
    • level_some_options
    • level_options_1_second
    • level_options_3_seconds
    • level_options_5_seconds
    • level_options_manual
    • level_tab_thangs
    • level_tab_scripts
    • level_tab_settings
    • level_tab_components
    • level_tab_systems
    • level_tab_thangs_title
    • level_tab_thangs_conditions
    • level_tab_thangs_add
    • level_settings_title
    • level_component_tab_title
    • level_component_btn_new
    • level_systems_tab_title
    • level_systems_btn_new
    • level_systems_btn_add
    • level_components_title
    • level_components_type
    • level_component_edit_title
    • level_system_edit_title
    • create_system_field_name
    • create_system_btn_cancel
    • create_system_btn_create
    • new_component_field_system
    • new_component_field_name
    • new_component_btn_cancel
    • new_component_btn_create
  • level:
    • index_table_results
    • index_table_name
    • index_table_description
    • index_table_version
  • article:
    • index_table_results
    • index_table_name
    • index_table_description
    • index_table_version
    • edit_btn_preview
    • edit_btn_save
    • edit_article_title
  • account_settings:
    • archmage_title_pref
    • archmage_title_suf
    • archmage_desc
    • artisan_title_pref
    • artisan_title_suf
    • artisan_desc
    • adventurer_title_pref
    • adventurer_title_suf
    • adventurer_desc
    • scribe_title_pref
    • scribe_title_suf
    • scribe_desc
    • diplomat_title_pref
    • diplomat_title_suf
    • diplomat_desc
    • ambassador_title_pref
    • ambassador_title_suf
    • ambassador_desc
    • counselor_title_pref
    • counselor_title_suf
  • general:
    • and
  • about:
    • who_is_codecombat
    • why_codecombat
    • who_description_prefix
    • who_description_sufix
    • who_description_ending
    • why_paragraph_1
    • why_paragraph_2
    • why_paragraph_3_prefix
    • why_paragraph_3_italic
    • why_paragraph_3_center
    • why_paragraph_3_italic_caps
    • why_paragraph_3_sufix
    • why_paragraph_4
    • why_ending
    • why_ending_url
    • george_description
    • scott_description
    • nick_description
    • jeremy_description
    • michael_description
  • legal:
    • page_title
    • opensource_intro
    • opensource_description_prefix
    • github_url
    • opensource_description_center
    • archmage_wiki_url
    • opensource_description_sufix
    • practices_title
    • practices_description
    • privacy_title
    • privacy_description
    • security_title
    • security_description
    • email_title
    • email_description_prefix
    • email_settings_url
    • email_description_sufix
    • cost_title
    • cost_description
    • recruitment_title
    • recruitment_description_prefix
    • url_hire_programmers
    • recruitment_description_sufix
    • recruitment_description_italic
    • recruitment_description_ending
    • copyrights_title
    • contributor_title
    • contributor_description_prefix
    • cla_url
    • contributor_description_sufix
    • code_title
    • code_description_prefix
    • mit_license_url
    • code_description_sufix
    • art_title
    • art_description_prefix
    • cc_license_url
    • art_description_sufix
    • art_music
    • art_sound
    • art_artwork
    • art_sprites
    • art_other
    • art_paragraph_1
    • use_list_1
    • use_list_2
    • art_paragraph_2
    • rights_title
    • rights_desc
    • rights_scripts
    • rights_unit
    • rights_description
    • rights_writings
    • rights_media
    • nutshell_title
    • nutshell_description
  • contribute:
    • page_title
    • introduction_desc_intro
    • introduction_desc_pref
    • introduction_desc_github_url
    • introduction_desc_suf
    • introduction_desc_ending
    • introduction_desc_signature
    • archmage_introduction
    • class_attributes
    • coffee_script
    • archmage_attribute_1_pref
    • archmage_attribute_1_suf
    • archmage_attribute_2
    • how_to_join
    • alert_account_message_intro
    • alert_account_message_pref
    • alert_account_message_suf
    • alert_account_message_create_url
    • join_desc_1
    • join_desc_2
    • join_desc_3
    • join_desc_4
    • join_url_github
    • join_url_email
    • join_url_hipchat
    • more_about_archmage
    • archmage_subscribe_desc
    • artisan_introduction_pref
    • artisan_introduction_suf
    • artisan_attribute_1
    • artisan_attribute_2
    • artisan_attribute_3
    • artisan_join_desc_pref
    • artisan_url_documentation
    • artisan_join_desc_suf
    • more_about_artisan
    • artisan_subscribe_desc
    • adventurer_introduction
    • adventurer_attribute_1
    • adventurer_attribute_2
    • adventurer_join_pref
    • adventurer_forum_url
    • adventurer_facebook_url
    • adventurer_twitter_url
    • adventurer_gplus_url
    • adventurer_join_suf
    • more_about_adventurer
    • adventurer_subscribe_desc
    • scribe_introduction_pref
    • scribe_introduction_url_mozilla
    • scribe_introduction_suf
    • scribe_attribute_1
    • contact_us_url
    • scribe_join_description
    • more_about_scribe
    • scribe_subscribe_desc
    • diplomat_introduction_pref
    • diplomat_launch_url
    • diplomat_introduction_suf
    • diplomat_attribute_1
    • diplomat_join_pref
    • diplomat_doc_url
    • diplomat_join_suf
    • more_about_diplomat
    • diplomat_subscribe_desc
    • ambassador_introduction
    • ambassador_attribute_1
    • ambassador_join_desc
    • ambassador_join_note_strong
    • ambassador_join_note_desc
    • more_about_ambassador
    • ambassador_subscribe_desc
    • counselor_introduction_1
    • counselor_introduction_2
    • counselor_attribute_1
    • counselor_attribute_2
    • counselor_join_desc
    • more_about_counselor
    • changes_auto_save
    • diligent_scribes
    • magical_archmages
    • creative_artisans
    • brave_adventurers
    • translating_diplomates

from codecombat.

nwinter avatar nwinter commented on July 20, 2024

Think just about everything is done now; can re-open if we add a significant amount of new pages, but really we should try to tag new strings as we create them instead of afterward.

from codecombat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.