Skip to content
This repository
Browse code

core: i18n - don't replace assume an empty translation should be adde…

…d as the original lookup string.

This fixes an issue where an undefined translation overwrites an existing translation from another module.
  • Loading branch information...
commit 764f3de7b90ec536b2616ba0e81fcdf52d85e40c 1 parent 3c51abd
Marc Worrell mworrell authored

Showing 2 changed files with 33 additions and 1 deletion. Show diff stats Hide diff stats

  1. +32 0 src/-marc-raiws.txt
  2. +1 1  src/i18n/z_gettext.erl
32 src/-marc-raiws.txt
... ... @@ -0,0 +1,32 @@
  1 +REDUNDANT ARRAY OF INEXPENSIVE WEB SERVERS
  2 +==========================================
  3 +
  4 +Goal
  5 +====
  6 +
  7 +Make a web system hosting multiple sites on multiple locations. All locations work together in serving the web sites, balancing load and sharing backups. Web sites contain different data but cooperate in a federation where they share data and resources.
  8 +
  9 +
  10 +Notes:
  11 +- distribute backups using (modified) p2p/torrent protocols
  12 +- failover: start a site & load backup from network
  13 +- distribute processing (image resizing, email decoding etc) to low load machines
  14 +- federate content
  15 +- pubsub for distributing updates
  16 +- backup/store files on cloud systems (s3, greenqloud, etc)
  17 +
  18 +
  19 +Federation:
  20 +- shared logons/ authentication
  21 +- share/distribute content
  22 +- pubsub for cooperation
  23 +
  24 +
  25 +Every server needs:
  26 +- PolderCast for distributed PubSub
  27 +- Bittorrent for distributing backups and other big backups
  28 +- DNS server for failover and location handling
  29 +
  30 +
  31 +Misc:
  32 +- Upload files using dropbox
2  src/i18n/z_gettext.erl
@@ -59,7 +59,7 @@ parse_po_file(List) ->
59 59 lists:foldl(fun ({"", R}, AccIn) ->
60 60 [{?GETTEXT_HEADER_INFO, R}|AccIn];
61 61 ({T, ""}, AccIn) ->
62   - [{T,T}|AccIn];
  62 + AccIn;
63 63 (R, AccIn) ->
64 64 [R|AccIn]
65 65 end,

0 comments on commit 764f3de

Please sign in to comment.
Something went wrong with that request. Please try again.