Changeset 137

Show
Ignore:
Timestamp:
11/30/07 01:25:13 (1 year ago)
Author:
rcrowley
Message:

Moar\!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/photos.xul

    r95 r137  
    154154                                        <hbox id="hide_single_sets"> 
    155155                                                <vbox> 
    156                                                         <label value="&meta.sets.add;" /> 
     156                                                        <label value="&meta.single.sets.add;" /> 
    157157                                                        <html:ul id="single_sets_add" onclick="meta.add_to_set(event);" 
    158158                                                        ></html:ul> 
     
    246246                                        <hbox id="hide_batch_sets"> 
    247247                                                <vbox> 
    248                                                         <label value="&meta.sets.add;" /> 
     248                                                        <label value="&meta.batch.sets.add;" /> 
    249249                                                        <html:ul id="batch_sets_add" onclick="meta.add_to_set(event);" 
    250250                                                        ></html:ul> 
     
    304304                                        <hbox id="no_meta_sets"> 
    305305                                                <vbox> 
    306                                                         <label value="&meta.sets.add;" /> 
     306                                                        <label value="&meta.single.sets.add;" /> 
    307307                                                        <html:ul></html:ul> 
    308308                                                        <box><html:div id="no_sets_create" class="disabled_button"><html:div 
  • trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.dtd

    r135 r137  
    8080<!ENTITY meta.batch.title.tooltip "Entering a title her will overwrite the titles of selected photos."> 
    8181<!ENTITY meta.single.description "Description:"> 
    82 <!ENTITY meta.batch.description "Add description:"> 
     82<!ENTITY meta.batch.description "Add to existing descriptions:"> 
    8383<!ENTITY meta.batch.description.tooltip "Entering a description will append it to the descriptions of selected photos."> 
    8484<!ENTITY meta.single.tags "Tags:"> 
    85 <!ENTITY meta.batch.tags "Add tags:"> 
     85<!ENTITY meta.batch.tags "Add to existing tags:"> 
    8686<!ENTITY meta.tags.tooltip "Separate each tag with a space: cameraphone urban moblog. Or to join 2 words together in one tag, use double quotes: &#34;daily commute&#34;."> 
    8787<!ENTITY meta.single.who "Who can see this photo?"> 
     
    9090<!ENTITY meta.safety_level "Safety level:"> 
    9191<!ENTITY meta.first "All photos are selected"> 
    92 <!ENTITY meta.batch.prompt "Any changes you make here will affect all selected photos."> 
    93 <!ENTITY meta.no.prompt "Select a photo (or many) to add titles, tags and descriptions or add your photos to sets"> 
    94 <!ENTITY meta.sets.add "Add to set:"> 
     92<!ENTITY meta.single.sets.add "Add to sets:"> 
     93<!ENTITY meta.batch.sets.add "Add to more sets:"> 
    9594<!ENTITY meta.sets.add.none "No sets"> 
    9695<!ENTITY meta.sets.create "Create a set..."> 
     
    9998<!ENTITY meta.sets.added.none "You haven't selected any sets"> 
    10099<!ENTITY meta.hidden "Sign in to see your sets"> 
     100 
     101<!ENTITY meta.no.prompt "Select a photo (or many) to add titles, tags and descriptions or add your photos to sets"> 
     102<!ENTITY meta.batch.prompt "You can now replace all titles with a new one, add to existing descriptions, add more tags or add to more sets."> 
    101103 
    102104<!ENTITY dialog.set.title "Create a set"> 
  • trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.properties

    r135 r137  
    2020 
    2121meta.dim=%1$d x %2$d 
    22 meta.batch.prompt=%1$d photos selected 
     22meta.batch.prompt=You've selected a batch of %1$d photos 
    2323meta.first=All photos are selected 
    2424meta.default=(default) 
     
    100100dialog.exit.cancel=Cancel 
    101101 
    102  
    103102# Check for Updates 
    104103updatesItem_default=Check for Updates... 
  • trunk/uploadr/strings_extract.php

    r90 r137  
    44        $dir = dirname(__FILE__); 
    55        $locale = "$dir/MacUploadr.app/Contents/Resources/chrome/locale/en-US"; 
     6 
     7        # Gotta have a project name 
     8        if (!isset($argv[1])) { 
     9                die("Usage: $argv[0] <project>\n"); 
     10        } 
     11        $project = $argv[1]; 
    612 
    713        # 
     
    3541 
    3642                        $v = implode('{TOKEN}', $v); 
    37                         $content .= "<!ENTITY $k.joined \"<!! dev=\"uploadr3\">$v</!!>\">\n"; 
     43                        $content .= "<!ENTITY $k.joined \"<!! dev=\"$project\">$v</!!>\">\n"; 
    3844                } 
    3945 
     
    5965                } 
    6066 
    61                 return "ENTITY $m[1] \"<!! dev=\"uploadr3\">$m[2]</!!>\""; 
     67                return "ENTITY $m[1] \"<!! dev=\"$project\">$m[2]</!!>\""; 
    6268        } 
    6369 
     
    7076                $content = implode(file("$locale/$file")); 
    7177 
    72                 $content = preg_replace('!^([a-z0-9._]+)=(.*)$!m', "$1=<!! dev=\"uploadr3\">$2</!!>", 
     78                $content = preg_replace('!^([a-z0-9._]+)=(.*)$!m', "$1=<!! dev=\"$project\">$2</!!>", 
    7379                        $content); 
    7480