* Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 29 Jul 2009 11:05:17 +0000 (11:05 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 29 Jul 2009 11:05:17 +0000 (11:05 +0000)
   changeset.id). Some languages may have a different numeric
   indicator than the ASCII pound symbol

 * Instead of including a column on :user/edits with a "more" link
   make the changeset ID link to the changeset page.

24 files changed:
app/views/changeset/_changeset.html.erb
app/views/changeset/_changesets.html.erb
config/locales/be.yml
config/locales/de.yml
config/locales/en.yml
config/locales/es.yml
config/locales/he.yml
config/locales/hi.yml
config/locales/hu.yml
config/locales/is.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/nl.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/ro.yml
config/locales/ru.yml
config/locales/sl.yml
config/locales/vi.yml
config/locales/yo.yml
config/locales/zh-CN.yml
config/locales/zh-TW.yml
script/locale/diff

index 81ee5423fa465044b994dc14eecf10f997ec0843..b682f1b4bd68a95a29d1e5b1e252cb48a662c194 100644 (file)
@@ -2,7 +2,12 @@
   <% cl = cycle('table0', 'table1') %>
 
   <td class="<%= cl %>">
-    #<%= changeset.id %>
+    <%=
+      id_link = link_to(changeset.id,
+                        {:controller => 'browse', :action => 'changeset', :id => changeset.id},
+                        {:title => t('changeset.changeset.view_changeset_details')})
+      t'changeset.changeset.id', :id => id_link
+    %>
   </td>
 
   <td class="<%= cl %> date">
@@ -48,8 +53,4 @@
     %>
   </td>
 
-  <td class="<%= cl %>">
-    <%= link_to t('changeset.changeset.more'), {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => t('changeset.changeset.view_changeset_details')} %> 
-  </td>
-
 </tr>
index d9e01235c215d419375c9c36fbca051fe304950b..e177f666e2b0b42b23b71e1153bba2585d7b2c9c 100644 (file)
@@ -8,7 +8,6 @@
 <% end %>
     <th><%= t'changeset.changesets.comment' %></th>
     <th><%= t'changeset.changesets.area' %></th>
-    <th></th>
   </tr>
   <%= render :partial => 'changeset', :locals => {:showusername => showusername}, :collection => @edits unless @edits.nil? %>
 </table>
index 9cb4bd40c8a2be3ca2d8b4710a71566b66367ded..c84def63c7b3ccb85ac20829b38eed8d3dfb24a7 100644 (file)
@@ -184,7 +184,6 @@ be:
       show_area_box: "паказаць мяжу мясцовасці"
       big_area: "(вялікая)"
       view_changeset_details: "Падрабязней пра набор зменаў"
-      more: "больш"
     changesets:
       id: "ID"
       saved_at: "Запісаны"
index 02f0ee0a1b0bd74b9d81de50897bc8deddf55e88..b1db7a2adc5997f52a573eb426efdb0f9f1dd9a4 100644 (file)
@@ -246,7 +246,6 @@ de:
       show_area_box: "Bereich anzeigen"
       big_area: "(groß)"
       view_changeset_details: "Details des Changesets"
-      more: "mehr"
     changesets:
       id: "ID"
       saved_at: "Gespeichert am"
index 5df7504f5d273535184b1c4ad8f6dfad854d2064..93fdb29e27658156b5a41a41a8ef6acc8193c310 100644 (file)
@@ -239,6 +239,7 @@ en:
       showing_page: "Showing page"
       of: "of"
     changeset:
+      id: "#{{id}}"
       still_editing: "(still editing)"
       anonymous: "Anonymous"
       no_comment: "(none)"
@@ -246,7 +247,6 @@ en:
       show_area_box: "show area box"
       big_area: "(big)"
       view_changeset_details: "View changeset details"
-      more: "more"
     changesets:
       id: "ID"
       saved_at: "Saved at"
index 6363f58b902607ca5c118e1c6d2eeacac60b2f3e..908173d3acbacf9966d45a7dac2dcea2021f78fe 100644 (file)
@@ -202,7 +202,6 @@ es:
       show_area_box: "mostrar caja"
       big_area: "(grande)"
       view_changeset_details: "Ver detalles del conjunto de cambios"
-      more: "más"
     changesets:
       id: "ID"
       saved_at: "Guardado en"
index b5001ade31cfc180f73ca2a35d324839bd132b69..ce8c75a722ce0163149278ea9dd8158e41f6f671 100644 (file)
@@ -184,7 +184,6 @@ he:
       show_area_box: "show area box"
       big_area: "(big)"
       view_changeset_details: "View changeset details"
-      more: "more"
     changesets:
       id: "ID"
       saved_at: "Saved at"
index 5f1cb67872cad1801df6d2c9802c8ba40c6ec5f7..b81c666f5f504b18d7d64942de854541900c3cf2 100644 (file)
@@ -209,7 +209,6 @@ hi:
       show_area_box: "show area box"
       big_area: "(बड़ा क्षेत्र)"
       view_changeset_details: "इस changeset के विवरण देखे"
-      more: "और दिखाए"
     changesets:
       id: "आईडी"
       saved_at: "समय जब सुरक्षित किया गया"
index 391a377705ec4ed9d6e000a9142b77db8971260a..7679ac2caa2fa107faf55f416fe6dfc23b812b58 100644 (file)
@@ -246,7 +246,6 @@ hu:
       show_area_box: "területhatároló megjelenítése"
       big_area: "(nagy)"
       view_changeset_details: "Módosításcsomag részleteinek megtekintése"
-      more: "tovább"
     changesets:
       id: "Azonosító"
       saved_at: "Mentve"
index 932ef92be9b119ee7aa265d45cdd2518058be7d5..a1c3a477e336ad0e26d3f57bf4d0ad35b626066b 100644 (file)
@@ -245,7 +245,6 @@ is:
       show_area_box: "sýna svæðismörk"
       big_area: "(stórt)"
       view_changeset_details: "Skoða breytingarsett"
-      more: "meira"
     changesets:
       id: "Kennitala"
       saved_at: "Vistað"
index 6c22de3b5276cf9b59b74fa0e45153e9116439a0..6d4735c1c14c193d7fb125a20a0280c22342e322 100644 (file)
@@ -184,7 +184,6 @@ it:
       show_area_box: "visualizza il riquadro dell'area"
       big_area: "(grande)"
       view_changeset_details: "Visualizza i dettagli del gruppo di modifiche"
-      more: "maggiori informazioni"
     changesets:
       id: "ID"
       saved_at: "Salvato il"
index 114e360676b5aa7501a473f64497da9747dca8c4..915506a732b93b7b4a403c9de25c8553f3b68886 100644 (file)
@@ -210,7 +210,6 @@ ja:
       show_area_box: "領域境界を表示"
       big_area: "(大)"
       view_changeset_details: "変更セットの詳細表示"
-      more: "詳細"
     changesets:
       id: "ID"
       saved_at: "保存日時"
index 414927ba351623ff52f0609ac6a54a0bf0bf205f..fcb092446bd58161fd0ed8b840e77ca9d78606f5 100644 (file)
@@ -210,7 +210,6 @@ ko:
       show_area_box: "지역 박스 보기"
       big_area: "(큰 지역)"
       view_changeset_details: "변경셋 세부 사항 보기"
-      more: "more"
     changesets:
       id: "ID"
       saved_at: "저장 시간"
index 67ce9a2b23fae246b447eb2a274e28a110c195d9..20c0073beb57ef50bf2557d4d78c27d2fa259f89 100644 (file)
@@ -184,7 +184,6 @@ nl:
       show_area_box: "toon rechthoek"
       big_area: "(groot)"
       view_changeset_details: "Toon changeset-details"
-      more: "meer"
     changesets:
       id: "ID"
       saved_at: "Opgeslagen op"
index 2d261acd35f637ea7168984f17d3b3ae2e7a0afa..054fd70663996c4c1dba0774c2d81173376afde0 100644 (file)
@@ -184,7 +184,6 @@ pl:
       show_area_box: "pokaż prostokąt zawierający"
       big_area: "(pełny)"
       view_changeset_details: "Zobacz szczegóły changesetu"
-      more: "więcej"
     changesets:
       id: "ID"
       saved_at: "Zapisano"
index 25b8f18ff7f4007ca6f5c8e7742cee520228dc1d..f61716dc3bf80b85f1eaf9e690bc88a8e637716d 100644 (file)
@@ -210,7 +210,6 @@ pt-BR:
       show_area_box: "exibir limite da área"
       big_area: "(grande)"
       view_changeset_details: "Ver detalhes das alterações"
-      more: "mais"
     changesets:
       id: "ID"
       saved_at: "Salvo em"
index 1f9b0ecb62323c59408e9c3363d89647b7d8cbf2..88df00ed3146a61967b9fc62172fd29ecc4feacb 100644 (file)
@@ -229,7 +229,6 @@ ro:
       show_area_box: "afișează chenarul zonei"
       big_area: "(mare)"
       view_changeset_details: "Vizualizare detalii set de schimbări"
-      more: "mai mult"
     changesets:
       id: "ID"
       saved_at: "Salvat la"
index 58859588a2abc883b8ef996786dcbd8d9f528bce..87d6b88c842ea815580df1bbd7ae8312c3d61b58 100644 (file)
@@ -184,7 +184,6 @@ ru:
       show_area_box: "Показать границы сеанса"
       big_area: "(большая)"
       view_changeset_details: "Просмотреть данные сеанса"
-      more: "подробнее"
     changesets:
       id: "ID"
       saved_at: "Завершено"
index 2bcec4e69e1513e1842c77ab7e78cfcabbe2f47a..7423977ec05892a7cc8acb4cbfe277edbb94c2c8 100644 (file)
@@ -236,7 +236,6 @@ sl:
       show_area_box: "prikaži pravokotno področje"
       big_area: "(veliko)"
       view_changeset_details: "Ogled podrobnosti paketa sprememb"
-      more: "več"
     changesets:
       id: "ID"
       saved_at: "Shranjen"
index 41f84b66ed75b8430d91637d32d69f0493800d94..8f5e8364e2124f9e8affdf6556edbca6f0f10289 100644 (file)
@@ -229,7 +229,6 @@ vi:
       show_area_box: "hiện hộp vùng"
       big_area: "(lớn)"
       view_changeset_details: "Xem chi tiết của bộ thay đổi"
-      more: "thêm"
     changesets:
       id: "ID"
       saved_at: "Lúc Lưu"
index ce6c0564427ab71e496109fdb1a24adae53dddae..b210e31777a9e7685e024fcdc0d8976c1789f3af 100644 (file)
@@ -210,7 +210,6 @@ yo:
       show_area_box: "show area box"
       big_area: "(big)"
       view_changeset_details: "View changeset details"
-      more: "more"
     changesets:
       id: "ID"
       saved_at: "Saved at"
index b4a7e027d66ad293bc9c8c6d7f94eed8d8e3d40d..4cca279083f3ea23cd11ac4f8797c1bef5fd5746 100644 (file)
@@ -186,7 +186,6 @@ zh-CN:
       show_area_box: "显示区域窗口"
       big_area: "(大)"
       view_changeset_details: "查看详细变更"
-      more: "更多"
     changesets:
       id: "ID"
       saved_at: "保存在"
index 9792d1477352786691b153f593c6ab0ce5120c65..f5fa89aef98ed0509c31d3ae16e79f26be134acf 100644 (file)
@@ -210,7 +210,6 @@ zh-TW:
       show_area_box: "顯示區域方塊"
       big_area: "(big)"
       view_changeset_details: "檢視變更組合詳細資訊"
-      more: "更多"
     changesets:
       id: "ID"
       saved_at: "儲存於"
index 52fc11180f1cf67120ba39b11c65cc1d025db109..b19d42a267fed71a0936cf04eacf0de2a3000109 100755 (executable)
@@ -246,6 +246,9 @@ untranslated_values:
     site.index.license.project_url: true
     browse.relation_member.entry: true
 
+    # #{{id}}
+    changeset.changeset.id: true
+
   de:
     activerecord.attributes.message.sender: true
     activerecord.attributes.trace.name: true