Giter Club home page Giter Club logo

iye's People

Contributors

clausd avatar jonasnielsen avatar kaspth avatar mabras avatar vangberg avatar zinkkrysty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iye's Issues

When i hit save button i get the undefined method `create' for Psych::Visitors::YAMLTree:Class

I18nYamlEditor::TransformationError at /update
Failed to nest key: "zh-tw.datetime.distance_in_words.x_days.one"

It looks like my YAMLs are not properly structured?

example:

zh-cn:
  date:
      order:
      - :year
      - :month
      - :day
  datetime:
      distance_in_words:
        x_days: "%{count} 天"
        about_x_months: "大約 %{count} 個月"
        x_months: "%{count} 个月"
        about_x_hours: "大约 %{count} 小时"
        about_x_years: "大约 %{count} 年"
        almost_x_years: "接近 %{count} 年"
        half_a_minute: "半分钟"
        less_than_x_minutes: "不到 %{count} 分钟"
        less_than_x_seconds: "不到 %{count} 秒"
        over_x_years: "%{count} 年多"
        x_minutes: "%{count} 分钟"
        x_seconds: "%{count} 秒"
...

I have complete en.yml, but others are missing the translations.

Thanks

Wrapping of values and poor handling of pipes

unacceptable_request: |
A supported version is expected in the Accept header.

has become (note the closing quote two lines later):

unacceptable_request: 'A supported version is expected in the Accept header.

'

confirmation_period_expired: needs to be confirmed within %{period}, please request a new one

has become (line break added):

confirmation_period_expired: needs to be confirmed within %{period}, please
request a new one

Are these changes really necessary? They make it difficult to review the edits that IYE makes.

traverse locale directories?

Is there a possibility to traverse directories in iye if "locale" data has been scattered in subdirectories?

Otherwise it might be a good thing to note in the readme that all translations should be organized in the default lang files under root.

Cannot connect to UI

Hi,

I started IYE in my config/locales folder and all I get when connecting to localhost:5050 is a xml output:

<?xml version="1.0" encoding="UTF-8"?>
<requests>
  <request identifier="snapCreationForm">
    <method>GET</method>
    <uri>/snap/new</uri>
  </request>
  <request identifier="snapCreation">
    <method>POST</method>
    <uri>/snap</uri>
  </request>
</requests>

Here's the server log:

 * Loading translations from /Users/_____/Sites/______/_______/config/locales
 * Creating missing translations
 * Starting web editor at port 5050
[2014-03-24 10:48:13] INFO  WEBrick 1.3.1
[2014-03-24 10:48:13] INFO  ruby 1.9.3 (2014-02-24) [x86_64-darwin13.1.0]
[2014-03-24 10:48:13] INFO  WEBrick::HTTPServer#start: pid=4834 port=5050

Any idea? Im on ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-darwin13.1.0]

Thanks!

add host option to the startup of rack server

I am working on a VM and I wanted to access iye from main main machine. I usually NAT my webapplications to a port on the mother ship. However Rack nowadays only binds to 127.0.0.1 instead of 0.0.0.0 thus it is not available to the outside.

I monkeypatched app.rb to look like that:
Rack::Server.start :app => Web, :Host => '0.0.0.0', :Port => 5050
to get it working

Textarea for editing keys?

I find difficult to edit multiline translations due to the single line input texts in the translations.html.
What do you think of switching to a textarea with 2 or 3 lines?

Preserve new lines in values

This key

        :body: |-
          Hej

          Jeg har netop lavet en gratis vurdering af en %{car}. Se vurderingen her: %{link}

          ––– Vurder din egen bil gratis her %{landing_page_link} –––

gets transformed into

        :body: 'HejJeg har netop lavet en gratis vurdering af en %{car}.
          Se vurderingen her: %{link}––– Vurder din egen bil gratis her %{landing_page_link}
          –––'

Thus missing all the newlines

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.