Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] $NON-NLS-1$ nit-picking

I don't understand the use of quotation within $NON-NLS-1$ .... Does this
mean anything?  I don't understand the ordering of 3 before 1 either.  I
always do them in ascending order when manually nls-ing.



                                                                                                                                                    
                      "Adam Kiezun"                                                                                                                 
                      <adam.kiezun@gmx.        To:       <jdt-ui-dev@xxxxxxxxxxx>                                                                   
                      net>                     cc:                                                                                                  
                      Sent by:                 Subject:  Re: [jdt-ui-dev] $NON-NLS-1$ nit-picking                                                   
                      jdt-ui-dev-admin@                                                                                                             
                      eclipse.org                                                                                                                   
                                                                                                                                                    
                                                                                                                                                    
                      05/12/2002 04:28                                                                                                              
                      PM                                                                                                                            
                      Please respond to                                                                                                             
                      jdt-ui-dev                                                                                                                    
                                                                                                                                                    
                                                                                                                                                    



give the following line
String a= "x" + "y" + "z";

how would you express that the first and the third strings must not be
translated while the middle one must be, but has not been
externalized yet?

as it is now, we write:
String a= "x" + "y" + "z"; $NON-NLS-3$"$NON-NLS-1$"


we know that the current scheme is not perfect and any suggestions that are
better the what we currently have are welcome.
however, the sugested scheme must be able to handle all cases that the
current one does and have the advantage either in handling
more cases or being easier to implement and use.

a.





_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-ui-dev





Back to the top